2015-05-05

Hey there!
Welcome to Traveller’s Gear!

This is a mod created to add a light RPG-ish feel to the game. It’s designed to interact with mods that give a similar feel, namely Baubles, Tinker’s Construct and Mariculture, incorporating their extended inventories aswell as its own into one single GUI. This mod adds 4 new slots, for cloak, pauldron, vambraces and a title scroll which displays certain honorary titles above the player’s head.

The API is designed to allow other modders to acces the extended inventory and add their own custom items. This can also be done in a more “hacky” way via IMC messages. Take a good look at the main TravellersGear class to see how it’s done.

The Inventory:

This is the Inventory GUI:

It is opened by either clicking on the little book icon in the top left of your character window in the inventory, or by using the keybinding. The keybinding is Numpad 7 by default (since you’re really supposed to use the button), but can be rebound.
It’s slots change depending on what mods are installed, but at optimum, this is what you’ll see:
Armor, Baubles, Mariculture Jewelry, Tinkers Construct Glove and Knapsack and the Traveller’s Gear items.
The page on the right has a few statistics, health, armor, speed, damage and with Thaumcraft installed, Vis discounts.



The fully filled inventory looks like this. The Items that should be unfamiliar here should be the cloak (top middle) the pauldrons, (right, second from the top), vambraces (right, fourth from the top) and the title scroll (bottom left).
The items added by this mod have no actual abilities applied to them, but the cloak is colourable like leather armor would be.
The title scroll is an item that, while it can be crafted, is best found in dungeon or stronghold chests. Those found in these chests have a random title added to them, and when worn, will display that title above the players head, just below their name. You can also see your title below your username in the gear inventory.

The Armorstand:


It does what it says, it displays armor.
But not only armor, but almost every item in your gear inventory!

With this interface you can easily switch between your own equipment and that on the stand, simply by shift clicking the items.
The “Style” button allows you to switch between 4 styles: Rendering Baubles, Traveller’s Gear, both, or none at all.
You can also disable helmet, chestplate, leggings, boots and the floorplate seperately.

The stand will render deposited Baubles and other gear in the tray, and will size them according to what you have deposited
Example:

Just Baubles

Baubles, Glove and Vambraces

Another Feature:

And to round up the RPG feel, you can now link Items in chat, broadcasting them to all players on the server. To do this, simply hold down CTRL and rightclick the item while in the gear inventory.

A note to my fellow modders:
This mod is specifically designed to be expanded upon. Therefore it has an API aswell as IMC support.
You can register custom Traveller’s Gear Items with these, allowing you to make your own Cloaks and Pauldrons, or even Title Items.
Either use the API and implement ITravellersGear on your item, or send an IMC message like this:
FMLInterModComms.sendMessage(“TravellersGear”, “registerTravellersGear_0″, new ItemStack(YOUR_ITEM));
registerTravellersGear_0 is the command, where 0 represents the slto the Item will fit in. 0 for cloaks, 1 for pauldrons, 2 for vambraces, 3 for title scrolls.
When you register like this, my IMC handler will check your item class for three methods:
onTravelGearTick(EntityPlayer, ItemStack);
onTravelGearEquip(EntityPlayer, ItemStack);
onTravelGearUnequip(EntityPlayer, ItemStack);
Should any of these be found, they will be called at the apropriate instances.
When using the interface from the API, you are forced to implement these.

F.A.Q.:

Q: “Isn’t ‘Traveller’s Gear’ the Tinker’s Construct Armor?”
A: “Well yes. However, my mod used to be part of a more expansive RPG mod I was working on a few months ago, dubbed ‘Traveller’s RPG’, because it was supposed to have you live more of a nomad’s life in Minecraft. I never published, but mDiyo did, and he apparently decided to go for a similar name. Great minds think alike! “

Q: “ZOMFG! TOTAL BAUBLES RIPOFF!”
A: “Apart from that not being a question: No. This is a mod designed to work along well with baubles, not to replace it and not to leech of its success. It just adds 3 more items that fit well in an RPG environment and provides extensive support for Azanor’s fantastic mod. If you don’t like that I’m trying to work along with it, don’t play it.”

Q: “Can you add [some item] ?”
A: “Nope. But you can! Learn to mod and feel free to use my API to add your own RPG items!” (Seriously. It’s not that hard. Take a look at Pahimar’s tutorials ;D )

Q: “You’re items don’t do anything.”
A: “I know. They are supposed to be like that. They are simply placeholders, designed to demonstrate what item fits into what slot. However, they are registered in the OreDictionary so that another mod I’m still heavily working on can use them in recipes in the future.”

Q: “Can I use this in a modpack?”
A: “Absolutely! The more people get to enjoy my mods, the happier I am!^^ But please do tell me when you do, because I like keeping up with how the mod is spreading
Also, please do the favour to credit me as BluSunrize, as that is the alias I go by on the Internet these days.”

License and all that fun stuff:

The mod is open source and can be found on Github: https://github.com/BluSunrize/TravellersGear/
Feel free to look at my code, and even take parts of it, but please follow Wheaton’s Law and “Don’t be a douche”. If you use my code, be so kind and tell people where you got it
Minecraft belongs to Mojang (or Microsoft, I guess), I claim no rights to it, blah, blah
Baubles is intelectual property of Azanor
Mariculture is intelectual property of joshie
Tinkers Construct and the base of my networking code were made by the development team “SlimeKnights”

A big thanks goes to all those mentioned before, aswell as “The Skype Guys” for critics and ideas

Enjoy!

Screenshot

Changes

- accepted the packet system outlined in the 1.16 beta
- fixed various packet related bugs

Download Links

For 1.7.10

http://download.minecraftdata.com/index.php?act=dl&id=115425

Credits: BluSunrize

The post Traveller’s Gear Mod 1.7.10 appeared first on Minecraftdata.com -Mods, Resource Packs, Maps, Tools, Skins, Updates.

Show more