net.minecraft.world.inventory

public class MenuType<T extends AbstractContainerMenu>

implements FeatureElement

ctm
net.minecraft.world.inventory.MenuType
net.minecraft.class_3917
net.minecraft.screen.ScreenHandlerType
net.minecraft.world.inventory.Containers

Field summary

Modifier and TypeField
public static final MenuType<ChestMenu>
a
GENERIC_9x1
field_18664
GENERIC_9X1
public static final MenuType<ChestMenu>
b
GENERIC_9x2
field_18665
GENERIC_9X2
public static final MenuType<ChestMenu>
c
GENERIC_9x3
field_17326
GENERIC_9X3
public static final MenuType<ChestMenu>
d
GENERIC_9x4
field_18666
GENERIC_9X4
public static final MenuType<ChestMenu>
e
GENERIC_9x5
field_18667
GENERIC_9X5
public static final MenuType<ChestMenu>
f
GENERIC_9x6
field_17327
GENERIC_9X6
public static final MenuType<DispenserMenu>
g
GENERIC_3x3
field_17328
GENERIC_3X3
public static final MenuType<CrafterMenu>
h
CRAFTER_3x3
field_46790
CRAFTER_3X3
public static final MenuType<AnvilMenu>
i
ANVIL
field_17329
ANVIL
public static final MenuType<BeaconMenu>
j
BEACON
field_17330
BEACON
public static final MenuType<BlastFurnaceMenu>
k
BLAST_FURNACE
field_17331
BLAST_FURNACE
public static final MenuType<BrewingStandMenu>
l
BREWING_STAND
field_17332
BREWING_STAND
public static final MenuType<CraftingMenu>
m
CRAFTING
field_17333
CRAFTING
public static final MenuType<EnchantmentMenu>
n
ENCHANTMENT
field_17334
ENCHANTMENT
public static final MenuType<FurnaceMenu>
o
FURNACE
field_17335
FURNACE
public static final MenuType<GrindstoneMenu>
p
GRINDSTONE
field_17336
GRINDSTONE
public static final MenuType<HopperMenu>
q
HOPPER
field_17337
HOPPER
public static final MenuType<LecternMenu>
r
LECTERN
field_17338
LECTERN
public static final MenuType<LoomMenu>
s
LOOM
field_17339
LOOM
public static final MenuType<MerchantMenu>
t
MERCHANT
field_17340
MERCHANT
public static final MenuType<ShulkerBoxMenu>
u
SHULKER_BOX
field_17341
SHULKER_BOX
public static final MenuType<SmithingMenu>
v
SMITHING
field_22484
SMITHING
public static final MenuType<SmokerMenu>
w
SMOKER
field_17342
SMOKER
public static final MenuType<CartographyTableMenu>
x
CARTOGRAPHY_TABLE
field_17343
CARTOGRAPHY_TABLE
public static final MenuType<StonecutterMenu>
y
STONECUTTER
field_17625
STONECUTTER
private final FeatureFlagSet
z
requiredFeatures
field_41923
requiredFeatures
private final MenuType$MenuSupplier<T>
A
constructor
field_17344
factory

Constructor summary

ModifierConstructor
private (MenuType$MenuSupplier<T> factory, FeatureFlagSet requiredFeatures)

Method summary

Modifier and TypeMethod
private static <T extends AbstractContainerMenu> MenuType<T>
a(String arg0, ctm$a<T> arg1)
register(String arg0, MenuType$MenuSupplier<T> arg1)
method_17435(String arg0, class_3917$class_3918<T> arg1)
register(String id, ScreenHandlerType$Factory<T> factory)
private static <T extends AbstractContainerMenu> MenuType<T>
a(String arg0, ctm$a<T> arg1, crs... arg2)
register(String arg0, MenuType$MenuSupplier<T> arg1, FeatureFlag... arg2)
method_48387(String arg0, class_3917$class_3918<T> arg1, class_7696... arg2)
register(String id, ScreenHandlerType$Factory<T> factory, FeatureFlag... requiredFeatures)
public T
a(int arg0, cox arg1)
create(int arg0, Inventory arg1)
method_17434(int arg0, class_1661 arg1)
create(int syncId, PlayerInventory playerInventory)
public FeatureFlagSet
i()
requiredFeatures()
method_45322()
getRequiredFeatures()