Minecraft Wiki
No edit summary
mNo edit summary
Line 3: Line 3:
 
** {{nbt|compound|DisplayState}}: Optional. The custom block in the minecart.
 
** {{nbt|compound|DisplayState}}: Optional. The custom block in the minecart.
 
*** {{nbt|string|Name}}: The name ID of the custom block.
 
*** {{nbt|string|Name}}: The name ID of the custom block.
*** {{nbt|compound|Properties}}: Optional. The [[block state]]s of the custom block, listed as key-value pairs under this tag.
+
*** {{nbt|compound|Properties}}: Optional. The [[block state]]s of the custom block.
  +
**** {{nbt|string|''Name''}}: The block state name and it's value.
 
** {{nbt|int|DisplayOffset}}: Optional. The offset of the block displayed in the Minecart in pixels. Positive values move the block upwards, while negative values move it downwards. A value of 16 will move the block up by exactly one multiple of its height.
 
** {{nbt|int|DisplayOffset}}: Optional. The offset of the block displayed in the Minecart in pixels. Positive values move the block upwards, while negative values move it downwards. A value of 16 will move the block up by exactly one multiple of its height.
 
</onlyinclude></div><noinclude>
 
</onlyinclude></div><noinclude>

Revision as of 12:33, 20 August 2018

    •  CustomDisplayTile: Optional. 1 or 0 (true/false) - whether to display the custom tile in this minecart.
    •  DisplayState: Optional. The custom block in the minecart.
      •  Name: The name ID of the custom block.
      •  Properties: Optional. The block states of the custom block.
        •  Name: The block state name and it's value.
    •  DisplayOffset: Optional. The offset of the block displayed in the Minecart in pixels. Positive values move the block upwards, while negative values move it downwards. A value of 16 will move the block up by exactly one multiple of its height.