Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

Item Display:

  • root tag
    • Tags common to all entities
    • Tags common to all display entities
    •  item: The item to display.
      • Tags common to all items
    •  item_display: The model to display. Describes item model transform applied to item (as defined in display field in model JSON. Can be none, thirdperson_lefthand, thirdperson_righthand, firstperson_lefthand, firstperson_righthand, head, gui, ground, and fixed. Defaults to fixed.

Block Display:

  • root tag
    • Tags common to all entities
    • Tags common to all display entities
    •  block_state: The block state to display.
      • Block state

Text Display:

  • root tag
    • Tags common to all entities
    • Tags common to all display entities
    •  alignment: Text alignment direction. Can be center, left, and right. Defaults to center.
    •  background: The background color, arranged by ARGB. Since pixel with an alpha channel less than 0.1 are discarded when rendering in vanilla shader, the background becomes fully transparent when A is less than 26 (0x1A). Defaults to 1073741824 (0x40000000). Interpolated.
    •  default_background: If true, rendering uses default text background color (same as in chat), which overrides  background. Defaults to false.
    •  line_width: Maximum line width used to split lines (note: new line can be also added with \n characters). Defaults to 200.
    •  see_through: Whether the text be visible through blocks. Defaults to false.
    •  shadow: Whether the text is displayed with shadow. Defaults to false.
    •  text: The text to be displayed in the format of raw JSON text, which are resolved with the context of the display entity.
    •  text_opacity: Alpha value of rendered text. Alpha value is from 0 to 255. Since there are no unsigned bytes in NBT, values greater than 127 need to be replaced with alpha-256. So, the value is from -128 to 127. Similar to the background, the text rendering is discarded when it is less than 26. Defaults to -1, which represents 255 and is completely opaque. Interpolated.
Advertisement