Package hiiragi283.lib.gui.menu.type
Class HTMenuTypeWithContext
-
- All Implemented Interfaces:
-
hiiragi283.lib.gui.menu.type.HTContainerFactory,net.minecraft.world.flag.FeatureElement,net.neoforged.neoforge.common.extensions.IMenuTypeExtension
public final class HTMenuTypeWithContext<MENU extends AbstractContainerMenu, C extends Object> extends HTMenuType<MENU, HTContainerFactory<MENU, C>> implements HTContainerFactory<MENU, C>
-
-
Constructor Summary
Constructors Constructor Description HTMenuTypeWithContext(Class<C> clazz, HTContainerFactory<MENU, C> factory, IContainerFactory<MENU> constructor)
-
Method Summary
Modifier and Type Method Description final MENUcreateOrNull(Integer containerId, Inventory inventory, Object context)final MenuConstructorcreateOrNull(Object context)-
Methods inherited from class hiiragi283.lib.gui.menu.type.HTContainerFactory
create -
Methods inherited from class net.minecraft.world.inventory.MenuType
create -
Methods inherited from class net.neoforged.neoforge.common.extensions.IMenuTypeExtension
create -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
createOrNull
final MENU createOrNull(Integer containerId, Inventory inventory, Object context)
-
createOrNull
final MenuConstructor createOrNull(Object context)
-
-
-
-