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

    Class ItemInventoryComponentBeta

    This component is added to items with the Storage Item component. Can access and modify this items inventory container.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    container: Container

    This property can throw when used.

    InvalidContainerError

    isValid: boolean

    Returns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.

    typeId: string

    Identifier of the component.

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