Uses of Interface
net.minecraft.client.gui.screens.MenuScreens.ScreenConstructor
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of MenuScreens.ScreenConstructor in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate static final Map<MenuType<?>,
MenuScreens.ScreenConstructor<?, ?>> MenuScreens.SCREENS
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
MenuScreens.ScreenConstructor<T,?> MenuScreens.getConstructor
(MenuType<T> p_96200_) Modifier and TypeMethodDescriptionstatic <T extends AbstractContainerMenu>
Optional<MenuScreens.ScreenConstructor<T,?>> MenuScreens.getScreenFactory
(MenuType<T> p_96202_, Minecraft p_96203_, int p_96204_, Component p_96205_) Modifier and TypeMethodDescriptionstatic <M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidMenuScreens.register
(MenuType<? extends M> p_96207_, MenuScreens.ScreenConstructor<M, U> p_96208_) Deprecated. -
Uses of MenuScreens.ScreenConstructor in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<MenuType<?>,
MenuScreens.ScreenConstructor<?, ?>> RegisterMenuScreensEvent.registeredScreens
Modifier and TypeMethodDescription<M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidRegisterMenuScreensEvent.register
(MenuType<? extends M> menuType, MenuScreens.ScreenConstructor<M, U> screenConstructor) ModifierConstructorDescriptionRegisterMenuScreensEvent
(Map<MenuType<?>, MenuScreens.ScreenConstructor<?, ?>> registeredScreens)
RegisterMenuScreensEvent
to register menu screens + TODO 1.20.5: remove AT related to this