Bedrock Energistics Core
    Preparing search index...

    Interface UiItemSlotElementDefinitionBeta

    Options for defining an item slot UI element.

    This is used to store items without persistent entities. If your machine uses a persistent entity, we recommend accessing the entity's inventory directly rather than using this.

    interface UiItemSlotElementDefinition {
        allowedItems?: string[];
        index: number;
        slotId: number;
        type: "itemSlot";
    }
    Index

    Properties

    allowedItems?: string[]

    Only allow specific items in this slot.

    index: number
    slotId: number
    type: "itemSlot"