Package com.simibubi.create.compat.jei
Class SlotMover
java.lang.Object
com.simibubi.create.compat.jei.SlotMover
- All Implemented Interfaces:
mezz.jei.api.gui.handlers.IGuiContainerHandler<AbstractSimiContainerScreen<?>>
public class SlotMover
extends Object
implements mezz.jei.api.gui.handlers.IGuiContainerHandler<AbstractSimiContainerScreen<?>>
Allows a
AbstractSimiContainerScreen to specify an area in getExtraArea() that will be avoided by JEI
Name is taken from CoFHCore's 1.12 implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.client.renderer.Rect2i>getGuiExtraAreas(AbstractSimiContainerScreen<?> containerScreen) Give JEI information about extra space that theAbstractContainerScreentakes up.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.gui.handlers.IGuiContainerHandler
getGuiClickableAreas, getIngredientUnderMouse
-
Constructor Details
-
SlotMover
public SlotMover()
-
-
Method Details
-
getGuiExtraAreas
public List<net.minecraft.client.renderer.Rect2i> getGuiExtraAreas(AbstractSimiContainerScreen<?> containerScreen) Description copied from interface:mezz.jei.api.gui.handlers.IGuiContainerHandlerGive JEI information about extra space that theAbstractContainerScreentakes up. Used for moving JEI out of the way of extra things like gui tabs.- Specified by:
getGuiExtraAreasin interfacemezz.jei.api.gui.handlers.IGuiContainerHandler<AbstractSimiContainerScreen<?>>- Returns:
- the space that the gui takes up besides the normal rectangle defined by
AbstractContainerScreen.
-