Skip to content

Tile Entity Format

Chest

  • A tile entity.
    • id: The id of this tile entity. In this case Chest
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • Items: List of CompoundTags, one for each item stack in the container.[1]
      • A item stack.
        • Slot: The slot the item is in.
        • id: The item ID.
        • Damage: The item's data value, or damage value for tools.
        • Count: The number of this item in the stack. Range -128 - 127. Values less then 2 are not displayed in-game.

Dispenser

Added in Beta 1.2

  • A tile entity.
    • id: The id of this tile entity. In this case Trap
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • Items: List of CompoundTags, one for each item stack in the container.
      • A item stack.
        • Slot: The slot the item is in.
        • id: The item ID.
        • Damage: The item's data value, or damage value for tools.
        • Count: The number of this item in the stack. Range -128 - 127. Values less then 2 are not displayed in-game.

Furnace

  • A tile entity.
    • id: The id of this tile entity. In this case Furnace
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • Items: List of CompoundTags, one for each item stack in the container.[1]
      • A item stack.
        • Slot: The slot the item is in.
        • id: The item ID.
        • Damage: The item's data value, or damage value for tools.
        • Count: The number of this item in the stack. Range -128 - 127. Values less then 2 are not displayed in-game.
    • BurnTime: Number of ticks left before the current fuel run out.
    • CookTime: Number of ticks the item has been smelting for. The item finishes smelting when this value reaches 200 (10 seconds). It is reset to 0 if BurnTime reaches 0.

Monster Spawner

Added in Infdev 20100625-1917

  • A tile entity.
    • id: The id of this tile entity. In this case MobSpawner
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • EntityId: The id of the entity this spawner spawns.
    • Delay: Number of ticks until the next spawn. If 0, it spawns immediately when a player enters its range. Has a random value set after spawning.

Noteblock

Added in Beta 1.2

  • A tile entity.
    • id: The id of this tile entity. In this case Music
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • note: The pitch of the note block.

Sign

Added in Infdev 20100607

  • A tile entity.
    • id: The id of this tile entity. In this case Sign
    • x: The X position of this tile entity.
    • y: The Y position of this tile entity.
    • z: The Z position of this tile entity.
    • Text1: First row of text.
    • Text2: Second row of text.
    • Text3: Third row of text.
    • Text4: Fourth row of text.

Notes

  1. Items in containers in Infdev 20100327 don't save due to a bug that causes the list to always be empty, without the use of external editors to hack items into the container.

Contributors

The avatar of contributor named as BJTMastermind BJTMastermind

Changelog

Contributors



Documentation page was setup by DexrnZacAttack.


Documentation is licensed under Creative Commons CC-BY 4.0 unless otherwise noted. For more info, check the NOTICE file.