Bedrock Energistics Core
    Preparing search index...

    Interface MachineOnStorageSetEventArgBeta

    Arguments for the onStorageSet event callback.

    interface MachineOnStorageSetEventArg {
        blockLocation: DimensionLocation;
        type: string;
        value: number;
    }

    Hierarchy (View Summary)

    Index
    blockLocation: DimensionLocation

    The dimension location of the machine.

    type: string

    The storage type ID that was set.

    value: number

    The new amount of this storage type.