Entity format/Vehicle

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Entity format/Vehicle on the Minecraft Wiki. Mirrored from revision 3620209. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

    • [Int] DisplayOffset: Optional. The offset of the block displayed in the Minecart in pixels. Positive values move the block upward, while negative values move it downward. A value of 16 moves the block up by exactly one multiple of its height.
    • [NBT Compound / JSON Object] DisplayState: Optional. The custom block in the minecart.
      • [String] Name: The resource location of the custom block.
      • [NBT Compound / JSON Object] Properties: Optional. The block states of the custom block.
        • [String] Name: The block state name and it's value.

Sources