Skip to content

How to get JSON type images

Example long-hand using in-line style

Example shorthand using classes

Example Tree view

  •  tag: Parent tag.
    •  Damage: The number of uses consumed (not remaining) of the item's durability.
    •  Unbreakable: 1 or 0 (true/false) - if true, the item doesn't lose durability when used.
    •  CanDestroy: The only blocks this item may break when used by a player in adventure mode.
      • : A block ID. Validated the same way as the block_predicate command argument, meaning block states and block tags are accepted, as well as client-side only block entity NBT tags.
    •  CustomModelData: A value used in the "custom_model_data" item tag in the overrides of item models.

Types

  • TAG_Byte
  • TAG_Boolean
  • TAG_Short
  • TAG_Int
  • TAG_Long
  • TAG_Float
  • TAG_Double
  • TAG_String
  • TAG_List
  • TAG_Compound
  • TAG_Byte_Array
  • TAG_Int_Array
  • TAG_Long_Array