Skip to content

InventoryKind

Namespace Mc.Scripting · Kind enum

public enum InventoryKind : byte

The kind of container a player has open.

Name Value Description
Chest 0 Chest / ender chest / generic rows menu.
Dispenser 1 Dispenser or dropper (3x3).
Furnace 2 Furnace.
BlastFurnace 3 Blast furnace.
Smoker 4 Smoker.
Workbench 5 Crafting table.
Enchanting 6 Enchanting table.
Brewing 7 Brewing stand.
Hopper 8 Hopper.
Anvil 9 Anvil.
Grindstone 10 Grindstone.
Stonecutter 11 Stonecutter.
Smithing 12 Smithing table.
Loom 13 Loom.
Cartography 14 Cartography table.
Beacon 15 Beacon.
ShulkerBox 16 Shulker box.
Barrel 17 Barrel.
Lectern 18 Lectern.
Merchant 19 Villager / wandering trader trades.
PlayerInventory 20 The player’s own inventory.
Custom 21 A plugin-created menu.
Unknown 22 Anything else.

PlayerInventory