Loading...
Beta Modpages Unclaimed

Traveller's Gear

RPG Inventories! Armorstands! Cross-Mod Interaction! Woohoo!

0 Likes
4834377 Downloads
Created by BluSunrize

Description

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! :D "

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!^^

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!


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Apotheosis

All things that should have been.

Corail Tombstone

Keeps safe your inventory items in graves on death with many features for better survivability and exploration, in a medieval fantasy atmosphere related to the decorative graves & the haunting souls

MineColonies

Grow your Own Massive Colony with Automation, Defense Structures, Raids and more

Runelic

A runic font for Minecraft.

Better Questing

A new and improved questing mod for Minecraft pack creators

Bountiful

Adds bounty boards, giving rewards for collecting different blocks and items.

LootBags

Adds bags of loot to mob and dungeon drops