Represents the inventory of a block in the world. Used with blocks like chests.
Private
Readonly
Block instance that this component pertains to.
The container which holds an ItemStack.
This property can throw when used.
Identifier of the component.
Static
Identifier of this component. Should always be minecraft:inventory.
Represents the inventory of a block in the world. Used with blocks like chests.