Block entity

From Minecraft Wiki
(Redirected from Tile entity)
Jump to: navigation, search

A block entity (previously named tile entity) is extra data associated with a block, beyond the block ID and 4 extra bits of data that every block has.

Usage[edit | edit source]

Block entities are able to perform an action each tick, unlike normal blocks which only perform action on a block update. Using this, they can also have more advance rendering, such as the floating book on enchantment tables, or the animated model on chests.

Additionally, blocks with block entities cannot be moved by pistons.

List of block entities[edit | edit source]

These are the current blocks which hold block entities.

Block Entity Usage
To store the text.
To store the patterns.
To store their contents.
  • Furnaces also store the time until the current item is smelted, and the time until the furnace's current fuel item is exhausted.
  • Brewing stands also store the brewing time.
  • Hoppers also store the time until the next transfer of an item.
  • Chests and trapped chests also use the block's position for the opening and closing animation.
To store the pyramid level, active effects, and contents. Also uses the block's position for the beacon beam.
To store:
  • which entity will be spawned.
  • the delay until the next entity is spawned, and the min and max values for the next spawn delay.
  • how many entities to spawn per spawn attempt.
  • additional data about the entity to be spawned (such as position, effects, and entities stacked on top of it).
  • Also uses the block's position to display the spinning mob inside.
To store which note will be played.
To store the offset of block, direction of movement, and ID (and data value, if applicable) of the moving block. (A moving block can't be stored as a block because it's not aligned to a grid cell.)
To play music discs, if any are inside.
For the floating book.
For the particle field effect.
For the type of the head, rotation when placed on top of a block, and (if applicable) data of the player represented.
For the type of command block, the command text, its output strength, and the output text.
To store whether the reaction started and the time remaining in the reaction.
To force the daylight sensor to update its output signal strength.
To show the Block ID and data value of the item displayed inside of it.
To store its output strength.

See also[edit | edit source]

  • Chunk format#Block entity format - desribes the save format for block entities
  • Entities, which are all dynamic, moving objects throughout the Minecraft world, plus several non-moving objects that resemble blocks.
  • Block states, which are, like block entities, extra pieces of data that further define a block.