minecraft:block_entity
Adds per-instance metadata for this block.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
dynamic_properties | Boolean | false | Dynamic-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_storage | Boolean | false | Stores serialized entities in this block via scripting. |
container | Object | — | Adds a container to this block. |
slot_count required | Integer1 to 54 | — | Sets the number of slots in the container. |
title | Text | — | 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.