Protected constructorReadonly containerThe container which holds an ItemStack.
This property can throw when used.
Readonly locationCoordinates of the specified block.
Readonly typeIdentifier of this component. Should always be minecraft:inventory.
Static Readonly componentIdentifier of this component. Should always be minecraft:inventory.
Represents the inventory of a block in the world. Used with blocks like chests.