minecraft-mods.info
minecraft-mods.info

Vocation Mod

Vocation Mod 1.10.2,1.10,1.9.4,1.8.9,1.7.10 is a mod about text messages appearing on screen. Check out that video for a short demo
Author: Vazkii
  • Map and Information
  • Updated July 4, 2016
  • Comments
  • Vocation 1.1-4.jar
  • Release Type: Release
  • Supports: 1.10.2,1.10,1.9.4,1.8.9,1.7.10
  • License: All Rights Reserved
Info! All download files are getting from server of Curse.com partner through API. It's always latest and safe(no virus).

VocationModimg100.png

Vocation Mod 1.10.2,1.10,1.9.4,1.8.9,1.7.10 is a mod about text (and voice acted) messages appearing on screen. Check out that video for a short (under 1 minute) demo. The mod is intended for pack developers and similar. This is a mod I made in around 7-8 hours on a stream one day, so it might not be super amazing.

How to get started:

  • Install Vocation (mod needs to be present on both the server and client)
  • Load the game once
  • Find the vocation_data folder next to your mods and config folders
  • Create a folder inside there. Name it whatever you want. You’ll put your stuff inside
  • If you want voice acting or sounds, create an “audio” folder inside that new folder you made
  • Create a file in the folder you made (not “audio”), you can name it whatever you want, but it must be a .json file. You can make as many of these as you want.
  • Put your messages on the .json files you made. There’s no limit to how many you can have or where they need to be. The ability to have multiple is just for organizing yourself better.
  • Make sure the files on the server and client are the same. Audio files can be missing on the server, but .jsons need to be the same.

Message format:

You can get an example file, the one used in the demo video, right here. I would advise you to do so after you’re read through the rest of this so you can get a good idea on how to use this.

Messages are in a normal JSON format. The base of the file must be a simple array:

[

 (your messages go here)

]

Inside your array, you can put as many messages as you want. Here’s the format for a message:

{
“id”: “(the ID of this message)“,
“message”: “(the message to show up on screen)“,
“narrator”: “(the name to show up above the message)“,
“time”: “(how long, in ticks, you want this message to stay on screen)“,
“voiceover”: “(the sound to play when this message appears, must be the name of an .ogg file located in your audio folder, optional)“,

“requirements”: (an array of message IDs that the player needs to have seen at least once for this message to appear once a trigger happens, optional),

“triggers”: (the things that will trigger this message to appear, this is an “or” when any of these are fulfilled, the message will appear, optional, trigger format will be shown later),

“actions”: (the things that will happen when this message appears, optional, action format will be shown later)
}

While “message” is not optional, you can leave it empty. If you do, the message will not display, but it’ll still count as seen, and its actions will still be performed. You can use this for having stuff happen on condition or just to create more complex requirement chains.

 

Triggers are also optional, as there is a command to show a message, you can use that if you don’t want a trigger. Here’s the trigger format.

“triggers”: [

{

“trigger”: “message_seen (this trigger happens whether another message from Vocation has been seen)“,

“key”: “(the ID of the message to check for)

},

{

“trigger”: “stat_above (this trigger happens whenever a player’s stat is above a value)“,

“key”: “(the name of the stat to check)“,

“value”: “(the value that the stat has to be, at the least, for this trigger to happen)

},

{

“trigger”: “item_pickup (this trigger happens when the player picks an item up)“,

“stack”: (the item stack to check for, stack format will be shown later)

},

{

“trigger”: “item_craft (this trigger happens when the player crafts an item)“,

“stack”: (the item stack to check for, stack format will be shown later)

},

{

“trigger”: “mob_kill (this trigger happens when the player kills a mob)“,

“key”: “(the name of the mob that needs to be killed)

}

]

Once a message is triggered, its actions will occur, if there’s any. You can have as many as you want. There aren’t many actions now, but they should take care of most possible things. Here’s the action format.

“actions”: [

{

“action”: “give_item (this action gives an item to the player)“,

“stack”: (the item stack to give the player, stack format will be shown later)

},

{

“action”: “run_command (this action runs a command, with command block level privilege at the position of the player)“,

“param”: “(the command to run here, including the /)

}

]

Lastly, here’s the stack format.

“stack”: {

“id”: “(the id of the item, including the mod id, example: minecraft:log)“,

“metadata”: “(the metadata of this item. Optional. If not present, item metadata will be zero, if the stack is used in a trigger, metadata will not be checked against)

“stackSize”: “(the size of this stack. Optional. If not present, stack size will be 1. Doesn’t matter at all for triggers)“,

“nbt”: (a json object of this item’s NBT, similar to what you’d use if you were running the /give command. Optional. If not present and the stack is used in a trigger, NBT will not be checked against)

}

Commands

The mod also comes with commands that can be used with the run_command action, by command blocks or server admins:

  • /vocation-review – Anybody can use this command, sends the last vocation message that player saw again, doesn’t do actions
  • /vocation-reload – Admin command, reloads all vocation files
  • /vocation-clear <player> – Command Block+ command, clears all vocation data of a player
  • /vocation-set-seen <player> <id> <true/false> – Command Block+ command, sets the message (by message id) flag on a player as seen or not (so it won’t show up later, or will, if you want it to show up multiple times). This won’t trigger the actions, but if a trigger were to happen after you set this to false, the actions will happen again.
  • /vocation-show <player> <id> [do-actions] – Command Block+ command, shows the given message (by message id) to the player sent. “do-actions” at the end is optional, but if present, actions will be done, if the message hasn’t been seen yet, and the message will be marked as seen. If not present, the message will NOT be marked as seen.
  • /vocation-check <player> <id> – Command Block command, sends out a comparator signal if the player has seen the message (by message id). Works in a similar matter to /testfor, if you’re into that.

 

Mod Spotlights:

How to install:

  1. Install the version of Forge that corresponds with the mod (http://files.minecraftforge.net/ Choose the installer version of Forge)
  2. Download the Vocation Mod.
  3. Drop the entire zipped file into your mods folder (Search %appdata% on your PC then go into .minecraft, then mods(create this folder if it is not there))
  4. Open Minecraft and make sure your profile is set to Forge
  5. Start Minecraft and enjoy!

Download Mods:

This mod is made by Vazkii, all credit to modder. Visit the original mod thread here for all info.

Dear youtuber!
Have you a channel youtube about minecraft?
Do you want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mod, which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link to email [email protected] or give a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!
Vocation Mod
4.08 (12) votes