Namespaces

Variants

Share

Share
Views
Actions

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 bits of so-called metadata that every block has (as described in the data values article). In addition, block entities are able to perform an action each tick. Block entities are detailed in the chunk format page. Block entities are not movable by pistons.

The blocks which have block data are:

  • Signs, to store the text displayed.
  • Chests, Trapped Chests, Dispensers, Furnaces, Brewing Stands, Hoppers, and Droppers 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.
  • Beacons, to store the pyramid level and what effects are active.
  • Monster Spawners, to store which mob will be spawned, additional data about the entity to be spawned (such as position, effects, and entities stacked on top of it), the time until the next mob is spawned, the min and max values for the next spawn delay, and how many mobs to spawn per spawn attempt.
  • Note Blocks, to store which note will be played.
  • Blocks being moved by pistons, to store the offset of block, direction of movement, and ID (and data value, if applicable) of the moving block.
  • Jukeboxes, if and which music disc is inside.
  • Enchanting Tables, for the floating book.
  • End Portals and Ender Chests, for the particle field effect.
  • Mob heads, for the type of the head, rotation when placed on top of a block, and (if applicable) data of the player represented.
  • Command Block, for the command text, its output strength, and the output text.
  • Nether Reactor Cores, to store whether the reaction started and the time remaining in the reaction.
  • Daylight Sensor, stores only the daylight sensor's block entity id and position but is used to force the daylight sensor to update its output signal strength.
  • Flower Pots, to show the Block ID and data value of the item displayed inside of it.
  • Redstone Comparator, to store its output strength.

[edit] See also

  • Entities, which are all dynamic, moving objects throughout the Minecraft world, plus several non-moving objects that resemble blocks.