Bedrock Energistics Core

    Function setMachineSlotItem

    • Beta

      Sets an item in a machine inventory.

      Parameters

      • loc: DimensionLocation

        The location of the machine.

      • elementId: string

        The ID of the item slot element.

      • OptionalnewItemStack: MachineItemStack

        The MachineItemStack to put in the slot. Pass undefined to remove the item in the slot.

      Returns void

    MMNEPVFCICPMFPCPTTAAATR