public class GuiHandlerRegistration extends java.lang.Object implements IGuiHandlerRegistration
| Constructor and Description |
|---|
GuiHandlerRegistration() |
| Modifier and Type | Method and Description |
|---|---|
<T extends net.minecraft.client.gui.screen.inventory.ContainerScreen<?>> |
addGenericGuiContainerHandler(java.lang.Class<? extends T> guiClass,
IGuiContainerHandler<?> guiHandler)
Same as
IGuiHandlerRegistration.addGuiContainerHandler(Class, IGuiContainerHandler) but for handlers that use Java Generics to
support multiple types of containers. |
<T extends net.minecraft.client.gui.screen.Screen> |
addGhostIngredientHandler(java.lang.Class<T> guiClass,
IGhostIngredientHandler<T> handler)
Lets mods accept ghost ingredients from JEI.
|
void |
addGlobalGuiHandler(IGlobalGuiHandler globalGuiHandler)
Add a handler to give JEI extra information about how to layout the ingredient list.
|
<T extends net.minecraft.client.gui.screen.inventory.ContainerScreen<?>> |
addGuiContainerHandler(java.lang.Class<? extends T> guiClass,
IGuiContainerHandler<T> guiHandler)
Add a handler to give JEI extra information about how to layout the item list next to a specific type of
ContainerScreen. |
<T extends net.minecraft.client.gui.screen.Screen> |
addGuiScreenHandler(java.lang.Class<T> guiClass,
IScreenHandler<T> handler)
Add a handler to let JEI draw next to a specific class (or subclass) of
Screen. |
GuiScreenHelper |
createGuiScreenHelper(IngredientManager ingredientManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRecipeClickAreapublic <T extends net.minecraft.client.gui.screen.inventory.ContainerScreen<?>> void addGuiContainerHandler(java.lang.Class<? extends T> guiClass,
IGuiContainerHandler<T> guiHandler)
IGuiHandlerRegistrationContainerScreen.
Multiple handlers can be registered for one ContainerScreen.addGuiContainerHandler in interface IGuiHandlerRegistrationfor handlers that use Java Genericspublic <T extends net.minecraft.client.gui.screen.inventory.ContainerScreen<?>> void addGenericGuiContainerHandler(java.lang.Class<? extends T> guiClass,
IGuiContainerHandler<?> guiHandler)
IGuiHandlerRegistrationIGuiHandlerRegistration.addGuiContainerHandler(Class, IGuiContainerHandler) but for handlers that use Java Generics to
support multiple types of containers. This type of handler runs into type issues with the regular method.addGenericGuiContainerHandler in interface IGuiHandlerRegistrationpublic void addGlobalGuiHandler(IGlobalGuiHandler globalGuiHandler)
IGuiHandlerRegistrationaddGlobalGuiHandler in interface IGuiHandlerRegistrationpublic <T extends net.minecraft.client.gui.screen.Screen> void addGuiScreenHandler(java.lang.Class<T> guiClass,
IScreenHandler<T> handler)
IGuiHandlerRegistrationScreen.
By default, JEI can only draw next to ContainerScreen.addGuiScreenHandler in interface IGuiHandlerRegistrationpublic <T extends net.minecraft.client.gui.screen.Screen> void addGhostIngredientHandler(java.lang.Class<T> guiClass,
IGhostIngredientHandler<T> handler)
IGuiHandlerRegistrationaddGhostIngredientHandler in interface IGuiHandlerRegistrationpublic GuiScreenHelper createGuiScreenHelper(IngredientManager ingredientManager)