Skip to content

Item configuration

Sylfare edited this page Jul 21, 2024 · 1 revision

Each attribute is optional.

# Note: maxDamage can't be set if maxStackSize is too.

name: "Item's name" # supports MiniMessage, default: ""
lore: # supports MiniMessage, default: not set
- "line 1"
- "line 2"
- "<bold>line 3<bold>"
model: 1000 # custom model data, default: not set
material: netherite_sword #default: diamond_sword
maxDamage: 4000 # maxDamage > 0, default: not set
maxStackSize: 16 # 1 ≤ maxStack ≤ 99, default: 1
jukeboxSong: # treats the item as a music disk
  name: "pigstep" # vanilla names are in jukebox_song folder of the default data pack, default: empty
  showInTooltip: true # default: true
enchantmentGlintOverride: # force enchantment glowing on item, default: not set
  set: true
  value: true
Clone this wiki locally