MCPcopy Create free account
hub / github.com/PaperMC/Paper / MenuType

Interface MenuType

paper-api/src/main/java/org/bukkit/inventory/MenuType.java:30–242  ·  view source on GitHub ↗

Represents different kinds of views, also known as menus, which can be created and viewed by the player.

Source from the content-addressed store, hash-verified

28 * created and viewed by the player.
29 */
30@NullMarked
31@ApiStatus.Experimental
32public interface MenuType extends Keyed, io.papermc.paper.world.flag.FeatureDependant { // Paper - make FeatureDependant
33
34 /**
35 * A MenuType which represents a chest with 1 row.
36 */
37 MenuType.Typed<InventoryView, InventoryViewBuilder<InventoryView>> GENERIC_9X1 = get("generic_9x1");
38 /**
39 * A MenuType which represents a chest with 2 rows.
40 */
41 MenuType.Typed<InventoryView, InventoryViewBuilder<InventoryView>> GENERIC_9X2 = get("generic_9x2");
42 /**
43 * A MenuType which represents a chest with 3 rows.
44 */
45 MenuType.Typed<InventoryView, LocationInventoryViewBuilder<InventoryView>> GENERIC_9X3 = get("generic_9x3");
46 /**
47 * A MenuType which represents a chest with 4 rows.
48 */
49 MenuType.Typed<InventoryView, InventoryViewBuilder<InventoryView>> GENERIC_9X4 = get("generic_9x4");
50 /**
51 * A MenuType which represents a chest with 5 rows.
52 */
53 MenuType.Typed<InventoryView, InventoryViewBuilder<InventoryView>> GENERIC_9X5 = get("generic_9x5");
54 /**
55 * A MenuType which represents a chest with 6 rows.
56 */
57 MenuType.Typed<InventoryView, LocationInventoryViewBuilder<InventoryView>> GENERIC_9X6 = get("generic_9x6");
58 /**
59 * A MenuType which represents a dispenser/dropper like menu with 3 columns
60 * and 3 rows.
61 */
62 MenuType.Typed<InventoryView, LocationInventoryViewBuilder<InventoryView>> GENERIC_3X3 = get("generic_3x3");
63 /**
64 * A MenuType which represents a crafter
65 */
66 MenuType.Typed<CrafterView, LocationInventoryViewBuilder<CrafterView>> CRAFTER_3X3 = get("crafter_3x3");
67 /**
68 * A MenuType which represents an anvil.
69 */
70 MenuType.Typed<AnvilView, LocationInventoryViewBuilder<AnvilView>> ANVIL = get("anvil");
71 /**
72 * A MenuType which represents a beacon.
73 */
74 MenuType.Typed<BeaconView, LocationInventoryViewBuilder<BeaconView>> BEACON = get("beacon");
75 /**
76 * A MenuType which represents a blast furnace.
77 */
78 MenuType.Typed<FurnaceView, LocationInventoryViewBuilder<FurnaceView>> BLAST_FURNACE = get("blast_furnace");
79 /**
80 * A MenuType which represents a brewing stand.
81 */
82 MenuType.Typed<BrewingStandView, LocationInventoryViewBuilder<BrewingStandView>> BREWING_STAND = get("brewing_stand");
83 /**
84 * A MenuType which represents a crafting table.
85 */
86 MenuType.Typed<InventoryView, LocationInventoryViewBuilder<InventoryView>> CRAFTING = get("crafting");
87 /**

Callers 8

MenuTypeInterface · 0.95
loadPermissionMethod · 0.65
hasPermissionMethod · 0.65
getByNameMethod · 0.65
PluginDescriptionFileMethod · 0.65
saveMethod · 0.65
loadMapMethod · 0.65
makePluginNameListMethod · 0.65

Calls 1

getMethod · 0.95

Tested by

no test coverage detected