minecraft:block_entity

Adds per-instance metadata for this block.

Properties

PropertyTypeDefaultWhat it does
dynamic_propertiesBooleanfalseDynamic-properties can store and retrieve variables on a block via scripting, more at https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/blockdynamicpropertiescomponent.
entity_storageBooleanfalseStores serialized entities in this block via scripting.
containerObject—Adds a container to this block.
slot_count requiredInteger1 to 54—Sets the number of slots in the container.
titleText—Optional container title, stored as a language file key or raw text. Must be nonempty and at most 256 characters.

Used by

No vanilla block file in the official samples uses this component. It is still part of the schema, so add-ons can use it.

Related components