Items Tutorial
Last updated
Was this helpful?
Last updated
Was this helpful?
All items on Codex follow the same format, here you can find information of the properties of items.
An example of an item on the inventory.yml file:
An example of an item on the regions category file:
The id/material of the item. Latest Versions Material:
Durability or data value of the item.
Custom name of the item.
You can use any PlaceholderAPI variable.
Custom lore/description of the item.
You can use any PlaceholderAPI variable.
The number of items.
Custom model data value of the item. Only works on 1.16-1.21.3.
Color of a leather armor.
Whether the tooltip should be hidden or not. 1.20.6+
Information of a written book. Pages are stored in JSON format so I suggest you not to modify this manually. Hover and click events are stored, but only on 1.12+.
NBT data of this item. This is difficult to implement manually, so I suggest you not to modify this option. (Only works on 1.8-1.20.4, nbt compounds don't exist anymore in Minecraft 1.20.5+)
The new 1.21.4 custom model data. The flags, floats, colors and strings properties consist of a list of elements. More info here:
Enchantments of the item. Use the following format: <name>;<level>
You can find all enchantment names here:
Item flags of this item. You can find all item flag names here:
Attribute modifiers of this item. This is difficult to implement manually, so I suggest you not to modify this option unless you know what you are doing. Format: <attribute_name>;<operation>;<value>;<uuid>;<slot>
Attribute names: Operation names:
Slot names: Generate a random uuid here:
Style of the tooltip background for the item. 1.21.2+ More info here: Format: "<namespace>:<id>"
Model of the item. 1.21.4+ More info here: Format: "<namespace>:<id>"
Information of a player head with texture. You can find heads with textures and their properties here: .
Information of a potion item. Works for these items IDs: POTION, SPLASH_POTION, LINGERING_POTION, TIPPED_ARROW. Potion Types: Potion Effects:
Information of a banner or shield item. Use the following format for patterns: <color>;<type>
Colors:
Pattern Types:
Information of a firework rocket or a firework star. Format for firework effects: <type>;<color1>,<color2>,...;<fade1>,<fade2>,...;<has flicker>;<has trail>
Firework types:
Colors:
Information of armor trim smithing templates. Works only for armor items. Only works on 1.20+. Patterns: Materials: