Interface AbstractClientModInitializer.ScreenRegistration
- Enclosing class:
AbstractClientModInitializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescription<M extends net.minecraft.world.inventory.AbstractContainerMenu,
U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<M>>
voidregister
(net.minecraft.world.inventory.MenuType<? extends M> type, AbstractClientModInitializer.ScreenConstructor<M, U> factory)
-
Method Details
-
register
<M extends net.minecraft.world.inventory.AbstractContainerMenu,U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<M>> void register(net.minecraft.world.inventory.MenuType<? extends M> type, AbstractClientModInitializer.ScreenConstructor<M, U> factory)
-