Uses of Class
net.minecraft.world.inventory.AbstractContainerMenu
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of AbstractContainerMenu in net.minecraft.client.gui.screens
Modifier and TypeInterfaceDescriptionstatic interface
MenuScreens.ScreenConstructor<T extends AbstractContainerMenu,
U extends Screen & MenuAccess<T>> Modifier and TypeMethodDescriptionstatic <T extends AbstractContainerMenu>
voidprivate static <T extends AbstractContainerMenu>
MenuScreens.ScreenConstructor<T, ?> MenuScreens.getConstructor
(MenuType<T> p_96200_) static <T extends AbstractContainerMenu>
Optional<MenuScreens.ScreenConstructor<T, ?>> MenuScreens.getScreenFactory
(MenuType<T> p_96202_) private static <M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidMenuScreens.register
(MenuType<? extends M> p_96207_, MenuScreens.ScreenConstructor<M, U> p_96208_) Deprecated. -
Uses of AbstractContainerMenu in net.minecraft.client.gui.screens.inventory
Modifier and TypeClassDescriptionclass
AbstractContainerScreen<T extends AbstractContainerMenu>
class
interface
MenuAccess<T extends AbstractContainerMenu>
Modifier and TypeFieldDescriptionprivate final AbstractContainerMenu
CreativeModeInventoryScreen.ItemPickerMenu.inventoryMenu
protected final T
AbstractContainerScreen.menu
Modifier and TypeMethodDescriptionvoid
CreativeInventoryListener.dataChanged
(AbstractContainerMenu p_169732_, int p_169733_, int p_169734_) void
ItemCombinerScreen.dataChanged
(AbstractContainerMenu p_169759_, int p_169760_, int p_169761_) void
CyclingSlotBackground.render
(AbstractContainerMenu p_267293_, GuiGraphics p_282894_, float p_266785_, int p_266711_, int p_266841_) void
AnvilScreen.slotChanged
(AbstractContainerMenu p_97882_, int p_97883_, ItemStack p_97884_) void
CreativeInventoryListener.slotChanged
(AbstractContainerMenu p_98498_, int p_98499_, ItemStack p_98500_) void
ItemCombinerScreen.slotChanged
(AbstractContainerMenu p_98910_, int p_98911_, ItemStack p_98912_) void
SmithingScreen.slotChanged
(AbstractContainerMenu p_267217_, int p_266842_, ItemStack p_267208_) -
Uses of AbstractContainerMenu in net.minecraft.server.level
Modifier and TypeMethodDescriptionprivate void
ServerPlayer.initMenu
(AbstractContainerMenu p_143400_) -
Uses of AbstractContainerMenu in net.minecraft.world
Modifier and TypeMethodDescriptionSimpleMenuProvider.createMenu
(int p_19205_, Inventory p_19206_, Player p_19207_) -
Uses of AbstractContainerMenu in net.minecraft.world.entity.player
-
Uses of AbstractContainerMenu in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionprotected abstract AbstractContainerMenu
AbstractMinecartContainer.createMenu
(int p_38222_, Inventory p_38223_) AbstractMinecartContainer.createMenu
(int p_38251_, Inventory p_38252_, Player p_38253_) ChestBoat.createMenu
(int p_219910_, Inventory p_219911_, Player p_219912_) MinecartChest.createMenu
(int p_38496_, Inventory p_38497_) MinecartHopper.createMenu
(int p_38601_, Inventory p_38602_) -
Uses of AbstractContainerMenu in net.minecraft.world.inventory
Modifier and TypeClassDescriptionclass
MenuType<T extends AbstractContainerMenu>
static interface
MenuType.MenuSupplier<T extends AbstractContainerMenu>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
RecipeBookMenu<I extends RecipeInput,
R extends Recipe<I>> class
class
class
class
Modifier and TypeFieldDescriptionprivate final AbstractContainerMenu
TransientCraftingContainer.menu
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
MenuType<T> MenuType.register
(String p_39989_, MenuType.MenuSupplier<T> p_39990_) private static <T extends AbstractContainerMenu>
MenuType<T> MenuType.register
(String p_267295_, MenuType.MenuSupplier<T> p_266945_, FeatureFlag... p_267055_) Modifier and TypeMethodDescriptionMenuConstructor.createMenu
(int p_39954_, Inventory p_39955_, Player p_39956_) Modifier and TypeMethodDescriptionvoid
ContainerListener.dataChanged
(AbstractContainerMenu p_150524_, int p_150525_, int p_150526_) void
CrafterMenu.dataChanged
(AbstractContainerMenu p_307424_, int p_307646_, int p_307221_) void
ContainerSynchronizer.sendCarriedChange
(AbstractContainerMenu p_150533_, ItemStack p_150534_) void
ContainerSynchronizer.sendDataChange
(AbstractContainerMenu p_150527_, int p_150528_, int p_150529_) void
ContainerSynchronizer.sendInitialData
(AbstractContainerMenu p_150535_, NonNullList<ItemStack> p_150536_, ItemStack p_150537_, int[] p_150538_) void
ContainerSynchronizer.sendSlotChange
(AbstractContainerMenu p_150530_, int p_150531_, ItemStack p_150532_) void
ContainerListener.slotChanged
(AbstractContainerMenu p_39315_, int p_39316_, ItemStack p_39317_) void
CrafterMenu.slotChanged
(AbstractContainerMenu p_307332_, int p_307437_, ItemStack p_307233_) protected static void
CraftingMenu.slotChangedCraftingGrid
(AbstractContainerMenu p_150547_, Level p_150548_, Player p_150549_, CraftingContainer p_150550_, ResultContainer p_150551_, RecipeHolder<CraftingRecipe> p_345124_) void
AbstractContainerMenu.transferState
(AbstractContainerMenu p_150415_) ModifierConstructorDescriptionTransientCraftingContainer
(AbstractContainerMenu p_287684_, int p_287629_, int p_287593_) TransientCraftingContainer
(AbstractContainerMenu p_287708_, int p_287591_, int p_287609_, NonNullList<ItemStack> p_287695_) -
Uses of AbstractContainerMenu in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprotected AbstractContainerMenu
BarrelBlockEntity.createMenu
(int p_58598_, Inventory p_58599_) protected abstract AbstractContainerMenu
BaseContainerBlockEntity.createMenu
(int p_58627_, Inventory p_58628_) BaseContainerBlockEntity.createMenu
(int p_58641_, Inventory p_58642_, Player p_58643_) BeaconBlockEntity.createMenu
(int p_58696_, Inventory p_58697_, Player p_58698_) protected AbstractContainerMenu
BlastFurnaceBlockEntity.createMenu
(int p_58849_, Inventory p_58850_) protected AbstractContainerMenu
BrewingStandBlockEntity.createMenu
(int p_58990_, Inventory p_58991_) protected AbstractContainerMenu
ChestBlockEntity.createMenu
(int p_59082_, Inventory p_59083_) protected AbstractContainerMenu
CrafterBlockEntity.createMenu
(int p_307441_, Inventory p_307664_) protected AbstractContainerMenu
DispenserBlockEntity.createMenu
(int p_59235_, Inventory p_59236_) protected AbstractContainerMenu
FurnaceBlockEntity.createMenu
(int p_59293_, Inventory p_59294_) protected AbstractContainerMenu
HopperBlockEntity.createMenu
(int p_59312_, Inventory p_59313_) LecternBlockEntity.createMenu
(int p_59562_, Inventory p_59563_, Player p_59564_) RandomizableContainerBlockEntity.createMenu
(int p_59637_, Inventory p_59638_, Player p_59639_) protected AbstractContainerMenu
ShulkerBoxBlockEntity.createMenu
(int p_59660_, Inventory p_59661_) protected AbstractContainerMenu
SmokerBlockEntity.createMenu
(int p_59783_, Inventory p_59784_) -
Uses of AbstractContainerMenu in net.neoforged.neoforge.client.event
Modifier and TypeMethodDescription<M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidRegisterMenuScreensEvent.register
(MenuType<? extends M> menuType, MenuScreens.ScreenConstructor<M, U> screenConstructor) -
Uses of AbstractContainerMenu in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionstatic <T extends AbstractContainerMenu>
MenuType<T> IMenuTypeExtension.create
(IContainerFactory<T> factory) -
Uses of AbstractContainerMenu in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final AbstractContainerMenu
PlayerContainerEvent.container
ModifierConstructorDescriptionClose
(Player player, AbstractContainerMenu container) Open
(Player player, AbstractContainerMenu container) PlayerContainerEvent
(Player player, AbstractContainerMenu container) -
Uses of AbstractContainerMenu in net.neoforged.neoforge.network
Modifier and TypeInterfaceDescriptioninterface
IContainerFactory<T extends AbstractContainerMenu>
-
Uses of AbstractContainerMenu in net.neoforged.neoforge.network.handlers
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidClientPayloadHandler.createMenuScreen
(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) -
Uses of AbstractContainerMenu in net.neoforged.neoforge.oldtest.misc
-
Uses of AbstractContainerMenu in net.neoforged.neoforge.oldtest.recipebook
RegisterMenuScreensEvent
instead