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