Block entity

(Redirected from Block entities)
Jump to navigation Jump to search
Not to be confused with Entity.

A block entity (also known as a tile entity) is an additional object associated with certain blocks.

Usage[edit | edit source]

Block entities can store additional information about their block, beyond the finite set of block states that a block may have. For example, all blocks that can store items use a block entity for this purpose. Block entities can also tick, running code regularly while loaded, even when not interacted with directly. Complex rendering not available to normal block models is also achieved with block entities. Blocks with block entities can be moved by pistons in Bedrock Edition, but not in Java Edition.

List of block entities[edit | edit source]

These are the current blocks that hold block entities.

Block Entity Usage
Stores bees and their entity data.
  • Ticks regularly to determine when the bees should exit.
Stores written text.
  • Renders the text and the sign itself.
Stores the redstone signal strength.
  • Listens for nearby vibrations.
Stores xp levels.
  • Listens for nearby deaths, and spreads charges.
Stores the number of activations.
  • Listens for nearby vibrations.
Stores color‌[BE only], the patterns, and a custom name.
  • Renders the banner with its patterns.
Stores its contents and a custom name for the interface.
Stores its contents, the cooking and fuel times, and a custom name for the interface.
  • Ticks regularly to advance the cooking time.
  • For campfires, renders the contained items.
Stores its contents, the transfer cooldown, and a custom name for the interface.
  • Ticks regularly to advance the cooldown and search for items to pull.
Stores the page the book is currently on.
  • Renders the book.
Stores which slots are disabled and the crafting cooldown.
  • Ticks regularly to advance the cooldown.
Stores the pyramid level, active effects, and contents.
  • Ticks regularly to check for a valid pyramid, and apply effects to nearby players.
  • Renders the beacon beam.
Stores the UUID of the transient creaking associated with this creaking heart.
Stores:
  • - the entity to 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 equipment, and status effects)
  • - the loot reward for the trial spawner
  • Ticks regularly to advance its cooldown, check for spawn conditions, and spawn mobs.
  • Renders the spinning entity inside.
Stores its loot configuration and tracked players.
  • Renders the spinning items inside.
Stores the note to be played.
Stores the contained item.
  • Renders the item.
Stores the offset of block, and blocks that it should move or break.‌[BE only] Also stores the moving process.
Stores the offset of block‌[JE only], direction of movement‌[JE only], and ID of the moving block.
  • Renders the block.
Stores the contained music discs.
  • Regularly ticks to end the song when time has elapsed.
Stores a custom name for the interface.
  • Renders the book animation.
Stores the destination location.
  • Renders the block.
For player heads, stores the player's skin information.
  • Renders the block.
Stores the command text, its output strength, and the output text.
Stores information about the structure.
Stores the structure pool and the block this jigsaw block becomes.
Stores whether the reaction started and the time remaining in the reaction.
Ticks regularly to update its output signal strength.
Stores the ID and the data value of the block displayed inside of it.
Stores its output strength.
Stores its color‌[BE only].
  • Renders the block.
Stores details about liquid content. Cauldrons containing dyed water store water color. Cauldrons containing potions store the potion's ID and a tag of whether it is a splash potion or not.
Ticks regularly to check its activation area for valid activation blocks and apply effects to nearby players.
  • Renders the block.
Ticks regularly to apply the glowing effect to nearby raiders when used.
  • Renders the swaying animation.
To link with a compass.
Stores the loot table and contents.
  • Renders the item while brushing.
Stores the items in the lab table and the process of lab experiment.

Render limits[edit | edit source]

This feature is exclusive to Java Edition.
 

Block entity rendering stops beyond a hard-coded block limit which is modeled after the radius of a sphere. This limit is not affected by the Render Distance nor the Entity Distance scale in the Video Settings.

Some effects related to block entities stop rendering beyond a different number of blocks:

See also[edit | edit source]

  • Chunk format § Block entity format – describes the save format for block entities
  • Entities, which are all the 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.

Navigation[edit | edit source]