Class MenuRegistryImpl
java.lang.Object
dev.architectury.registry.menu.forge.MenuRegistryImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.minecraft.world.inventory.AbstractContainerMenu>
net.minecraft.world.inventory.MenuType<T>of
(dev.architectury.registry.menu.MenuRegistry.SimpleMenuTypeFactory<T> factory) static <T extends net.minecraft.world.inventory.AbstractContainerMenu>
net.minecraft.world.inventory.MenuType<T>ofExtended
(dev.architectury.registry.menu.MenuRegistry.ExtendedMenuTypeFactory<T> factory) static void
openExtendedMenu
(net.minecraft.server.level.ServerPlayer player, dev.architectury.registry.menu.ExtendedMenuProvider provider) static <H extends net.minecraft.world.inventory.AbstractContainerMenu,
S extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<H>>
voidregisterScreenFactory
(net.minecraft.world.inventory.MenuType<? extends H> type, dev.architectury.registry.menu.MenuRegistry.ScreenFactory<H, S> factory)
-
Constructor Details
-
MenuRegistryImpl
public MenuRegistryImpl()
-
-
Method Details