Armor - MrTroble/TCUtility GitHub Wiki
General
With the armor definitions it is possible to add your own armor with stats. Therefor you need to add the "armordefinitions" folder.
You will need one or more json files for this. Several entries can be made in one json file or it can be structured in several files. This is up to you. The file(s) can be named as you wish.
Layout
{
"armorName": {
"durability": "Int",
"enchantability": "Int",
"toughness": "Float",
"slots": ["String..."]
}
}
- "armorName" is the name of the armor. Must be present and must be unique.
- "durability" is the durability of the armor. Can be present. Default value: 1000
- "enchantability" is the maximum enchantability of the armor. Can be present. Default value: 30
- "toughness" is the toughness of the armor. Can be present. Default value: 0.0
- "slots" is a list with the armor parts which should be registered. Must be present. Can include this. You need to include all, if you want a full armor set.
Example
{
"test": {
"durability": 100,
"enchantability": 20,
"toughness": 0.5,
"slots": ["head", "chest", "legs", "feet"]
},
"test2": {
"slots": ["head"]
}
}
Further
In addition to the registration, you must now create
- item model,
- item textures,
- armor textures and
- language keys.
Which are in the standard Minecraft resource pack format.