Skip to content

Custom Durable Items

Type ID: item:durable

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.

Example Code

{
    "type": "item:durable",
    "item_group": "materials",
    "durability": 100,
    "max_count": 64,
    "start_color": {
        "red": 0.85882352941,
        "green": 0.45882352941,
        "blue": 0.92156862745
    },
    "end_color": {
        "red": 0.62352941176,
        "green": 0.07843137254,
        "blue": 0.70980392156
    }
}