Custom Shield
Type ID: item:shield
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 | 100 |
How many uses the item has. |
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. |
cooldown |
Integer | 60 |
How long the shield takes to be able to be used again when struck with an axe, in ticks. |
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:shield",
"cooldown": 20,
"durability": 100,
"enchantability": 9
}