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 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.IGuiContainerHandler
      Give JEI information about extra space that the AbstractContainerScreen takes up. Used for moving JEI out of the way of extra things like gui tabs.
      Specified by:
      getGuiExtraAreas in interface mezz.jei.api.gui.handlers.IGuiContainerHandler<AbstractSimiContainerScreen<?>>
      Returns:
      the space that the gui takes up besides the normal rectangle defined by AbstractContainerScreen.