Skip to content

Item NBT

Parameters

txt
id = The custom id for the item
record - The root tag for all records
 ├ power_level (int) - The redstone power level when placed in a jukebox. *Currently does not work*
 └ sound: (str) - The sound event to play.

Example

snbt
{
   id: "test:music_disc_5",
   record: {
      power_level: 5,
      sound: "example:music_disc.5"
   },
   HideFlags:32,
   CustomModelData:15,
   display: {
      Name: '{"translate":"item.example.music_disc_5", "italic": false}',
      Lore: [
         '{"translate":"item.example.music_disc_5.desc", "color": "gray", "italic": false}'
      ]
   }
}

Not associated with or approved by Mojang Studios or Microsoft