Script API - v1.19.70
    Preparing search index...

    Defines this entity's inventory properties.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    additionalSlotsPerStrength: number

    Number of slots that this entity can gain per extra strength.

    This property can throw when used.

    canBeSiphonedFrom: boolean

    If true, the contents of this inventory can be removed by a hopper.

    This property can throw when used.

    Defines the container for this entity.

    This property can throw when used.

    containerType: string

    Type of container this entity has.

    This property can throw when used.

    inventorySize: number

    Number of slots the container has.

    This property can throw when used.

    private: boolean

    If true, the entity will not drop it's inventory on death.

    This property can throw when used.

    restrictToOwner: boolean

    If true, the entity's inventory can only be accessed by its owner or itself.

    This property can throw when used.

    typeId: string

    Identifier of this component. Should always be minecraft:inventory.

    componentId: "minecraft:inventory" = 'minecraft:inventory'

    Identifier of this component. Should always be minecraft:inventory.