Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    1 min read · 3 sections
    On this page

    Enum in @basalt/menus

    The windows a menu can be, and how many slots each has.

    import { MenuType } from '@basalt/menus';
    import { MenuType } from '@basalt/menus';
    const value: MenuType = MenuType.Chest;
    console.log(value); // "chest"
    import { MenuType } from '@basalt/menus';
    const value = MenuType.Chest;
    console.log(value); // "chest"
    Name Value Description
    Chest "chest" 27 slots.
    DoubleChest "double_chest" 54 slots, two chests side by side.
    EnderChest "ender_chest" 27 slots.
    Barrel "barrel" 27 slots.
    ShulkerBox "shulker_box" 27 slots.
    Hopper "hopper" 5 slots.
    Dispenser "dispenser" 9 slots.
    Dropper "dropper" 9 slots.
    Furnace "furnace" 3 slots: the input, the fuel and the output.
    BlastFurnace "blast_furnace" 3 slots, as a furnace’s.
    Smoker "smoker" 3 slots, as a furnace’s.
    BrewingStand "brewing_stand" 5 slots: the ingredient, three bottles, and the blaze powder.
    CraftingTable "crafting_table" 9 slots, the 3x3 grid. Nothing crafts in it. Shows no title.
    Anvil "anvil" 2 slots: the item and the material. Nothing is made in it. Shows no title.
    EnchantingTable "enchanting_table" 2 slots: the item and the lapis. No enchantments are offered.
    Grindstone "grindstone" 2 slots. Shows no title.
    Stonecutter "stonecutter" 1 slot. Shows no title.
    Loom "loom" 3 slots: the banner, the dye and the pattern. Shows no title.
    CartographyTable "cartography_table" 2 slots: the map and the material. Shows no title.
    SmithingTable "smithing_table" 3 slots: the template, the base and the addition. Shows no title.
    Beacon "beacon" 1 slot, the payment.

    Menu.constructor, Menu.type