net.minecraft.world.inventory

public class MenuType<T extends AbstractContainerMenu>

implements FeatureElement

ccj
net.minecraft.world.inventory.MenuType
net.minecraft.class_3917
net.minecraft.screen.ScreenHandlerType
net.minecraft.src.C_1291_
net.minecraft.world.inventory.Containers

Field summary

Modifier and TypeField
public static final MenuType<ChestMenu>
a
GENERIC_9x1
field_18664
GENERIC_9X1
f_39957_
public static final MenuType<ChestMenu>
b
GENERIC_9x2
field_18665
GENERIC_9X2
f_39958_
public static final MenuType<ChestMenu>
c
GENERIC_9x3
field_17326
GENERIC_9X3
f_39959_
public static final MenuType<ChestMenu>
d
GENERIC_9x4
field_18666
GENERIC_9X4
f_39960_
public static final MenuType<ChestMenu>
e
GENERIC_9x5
field_18667
GENERIC_9X5
f_39961_
public static final MenuType<ChestMenu>
f
GENERIC_9x6
field_17327
GENERIC_9X6
f_39962_
public static final MenuType<DispenserMenu>
g
GENERIC_3x3
field_17328
GENERIC_3X3
f_39963_
public static final MenuType<AnvilMenu>
h
ANVIL
field_17329
ANVIL
f_39964_
public static final MenuType<BeaconMenu>
i
BEACON
field_17330
BEACON
f_39965_
public static final MenuType<BlastFurnaceMenu>
j
BLAST_FURNACE
field_17331
BLAST_FURNACE
f_39966_
public static final MenuType<BrewingStandMenu>
k
BREWING_STAND
field_17332
BREWING_STAND
f_39967_
public static final MenuType<CraftingMenu>
l
CRAFTING
field_17333
CRAFTING
f_39968_
public static final MenuType<EnchantmentMenu>
m
ENCHANTMENT
field_17334
ENCHANTMENT
f_39969_
public static final MenuType<FurnaceMenu>
n
FURNACE
field_17335
FURNACE
f_39970_
public static final MenuType<GrindstoneMenu>
o
GRINDSTONE
field_17336
GRINDSTONE
f_39971_
public static final MenuType<HopperMenu>
p
HOPPER
field_17337
HOPPER
f_39972_
public static final MenuType<LecternMenu>
q
LECTERN
field_17338
LECTERN
f_39973_
public static final MenuType<LoomMenu>
r
LOOM
field_17339
LOOM
f_39974_
public static final MenuType<MerchantMenu>
s
MERCHANT
field_17340
MERCHANT
f_39975_
public static final MenuType<ShulkerBoxMenu>
t
SHULKER_BOX
field_17341
SHULKER_BOX
f_39976_
public static final MenuType<LegacySmithingMenu>
u
LEGACY_SMITHING
field_41922
LEGACY_SMITHING
f_266020_
public static final MenuType<SmithingMenu>
v
SMITHING
field_22484
SMITHING
f_39977_
public static final MenuType<SmokerMenu>
w
SMOKER
field_17342
SMOKER
f_39978_
public static final MenuType<CartographyTableMenu>
x
CARTOGRAPHY_TABLE
field_17343
CARTOGRAPHY_TABLE
f_39979_
public static final MenuType<StonecutterMenu>
y
STONECUTTER
field_17625
STONECUTTER
f_39980_
private final FeatureFlagSet
z
requiredFeatures
field_41923
requiredFeatures
f_265869_
private final MenuType$MenuSupplier<T>
A
constructor
field_17344
factory
f_39981_

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, ccj$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)
m_39988_(String p_39989_, C_1291_$C_1292_<T> p_39990_)
private static <T extends AbstractContainerMenu> MenuType<T>
a(String arg0, ccj$a<T> arg1, cas... 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)
m_266268_(String p_267295_, C_1291_$C_1292_<T> p_266945_, C_243544_... p_267055_)
public T
a(int arg0, byl arg1)
create(int arg0, Inventory arg1)
method_17434(int arg0, class_1661 arg1)
create(int syncId, PlayerInventory playerInventory)
m_39985_(int p_39987_, C_1140_ arg1)
public FeatureFlagSet
m()
requiredFeatures()
method_45322()
getRequiredFeatures()
m_245183_()