Bedrock Energistics Core
    Preparing search index...

    Function getMachineSlotItem

    • Beta

      Gets an item from a machine inventory.

      Parameters

      • loc: DimensionLocation

        The location of the machine.

      • elementId: string

        The ID of the item slot element.

      Returns Promise<undefined | MachineItemStack>

      The MachineItemStack or undefined if there is no item in the specified slot.