minecraft:inventory
Dynamic value
Properties
This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.
Example from the game files
This is how vanilla Minecart with Chest uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:inventory": {
"can_be_siphoned_from": true,
"inventory_size": 27,
"container_type": "minecart_chest"
}
}Used by 19
Vanilla entities with minecraft:inventory in their definition: