Bedrock Energistics Core
    Preparing search index...

    Interface UiStorageBarElementDefinitionBeta

    Options for defining a storage bar UI element.

    A storage bar element takes up 4 slots in an inventory, so ensure that the machine entity's inventory is properly sized.

    interface UiStorageBarElementDefinition {
        defaults?: UiStorageBarElementUpdateOptions;
        size?: number;
        startIndex: number;
        type: "storageBar";
    }
    Index

    Default values to fill in any undefined values returned by updateUi.

    size?: number

    The amount of item slots to use.

    4
    
    startIndex: number

    The starting slot index of this element in the JSON UI.

    type: "storageBar"