Bedrock Energistics Core
    Preparing search index...

    Class ItemMachineBeta

    Representation of an item machine.

    Index
    • Beta

      Parameters

      • Betainventory: BlockInventoryComponent | EntityInventoryComponent

        The inventory that the item is in.

      • Betaslot: number

        The slot index that the item is in.

      Returns ItemMachine

      Throws a PublicError of type PublicErrorType.NotFound if an item is not found in the specified slot.

    inventory: BlockInventoryComponent | EntityInventoryComponent

    The inventory that the item is in.

    slot: number

    The slot index that the item is in.

    typeId: string

    The item type ID.

    • Beta

      Is this object valid?

      Returns boolean

      true if the type ID of the item in the specified slot has NOT changed since the creation of this object, otherwise false.