Private constructorReadonly additionalNumber of slots that this entity can gain per extra strength.
This property can throw when used.
Readonly canIf true, the contents of this inventory can be removed by a hopper.
This property can throw when used.
Optional Readonly containerDefines the container for this entity. The container will be undefined if the entity has been removed.
This property can throw when used.
Readonly containerType of container this entity has.
This property can throw when used.
Optional Readonly Beta entityThe entity that owns this component. The entity will be undefined if it has been removed.
Readonly inventoryNumber of slots the container has.
This property can throw when used.
Readonly privateIf true, the entity will not drop it's inventory on death.
This property can throw when used.
Readonly restrictIf true, the entity's inventory can only be accessed by its owner or itself.
This property can throw when used.
Readonly typeIdentifier of the component.
Static Readonly component
Defines this entity's inventory properties.