Skip to main content

Module block_entity

Module block_entity 

Source
Expand description

Block entities — persistent per-block state.

Block entities store data that standard block states cannot represent, such as chest inventories, furnace cook progress, or sign text. They are keyed by absolute world position and persisted with the chunk.

Enums§

BlockEntity
A block entity with typed data.
BlockEntityKind
Type discriminator for BlockEntity.