Items
Last updated
Last updated
Each item entry is keyed by a number '1'
, '2'
, etc. for clarity (just keys, no meaning beyond indexing).
Common Item Keys:
slot
: Integer slot index in the inventory (0-based). For a 3-row chest, slots 0-26.
item
: Material name (e.g. DIAMOND_SWORD
). Must be a valid Bukkit Material.
amount
: Stack size (1-64).
item-name
: Custom display name. Supports color codes.
item-lore
: List of lore lines, supports color and placeholders.
item-flags
: List of ItemFlag
s or all
to hide all. E.g. [HIDE_ENCHANTS, HIDE_ATTRIBUTES]
. all
hides all attributes and enchants.
unbreakable
: true
or false
- sets item as unbreakable.
enchantments
: (Optional) A list of enchantments like:
custom-model-data
: Integer for resource pack model variants.
texture-base64
: For PLAYER_HEAD items, base64 texture string.
To access the item modify menu, right-click on an item in a scene.