Custom Armor
Type ID: item:armor
Fields
| Field | Type | Default | Description |
|---|---|---|---|
name |
String | optional | The display name of the item. Can be a literal string or a translation key. If none is given, it'll default to item.namespace.path. |
lore |
Array of Strings | optional | Lines of text below an item. |
item_powers |
Array of Item Powers | optional | The powers your item will have. |
durability |
Integer | 10 |
How many hits the armor will endure before breaking. |
slot |
String | "head" |
Which equipment slot the armor will be equipped in. Accepts "head", "chest", "legs", "feet". |
item_group |
Item Group | "misc" |
The tab you can find the item in. |
start_colour |
Colour | optional | The start colour gradient of the Durability bar. |
end_colour |
Colour | optional | The end colour gradient of the Durability bar. |
fuel_tick |
Integer | 0 |
How long the item can smelt for in a furnace. |
texture |
String | The name of the image files used to texture the armor. | |
protection |
Integer | 0 |
the amount of damage that a weapon does. |
toughness |
Integer | 0 |
the amount of damage that a weapon does. |
knockback_resistance |
Integer | 0 |
How fast you can swing the weapon. |
enchantability |
Integer | 0 |
How likely you are to get good enchantments. |
repair_item |
Identifier | optional | The item used to repair this item. |
Example Code
{
"type": "item:armor",
"slot": "chest",
"name": "kunzite",
"durability": 750,
"protection": 5,
"toughness": 1,
"knockback_resistance": 0,
"enchantability": 6,
"item_group": "materials"
}