Class BasicContainerScreenHandler<T extends net.minecraft.world.inventory.AbstractContainerMenu>

java.lang.Object
com.hrznstudio.titanium.jei.BasicContainerScreenHandler<T>
All Implemented Interfaces:
mezz.jei.api.gui.handlers.IGuiContainerHandler<BasicContainerScreen<T>>

public class BasicContainerScreenHandler<T extends net.minecraft.world.inventory.AbstractContainerMenu> extends Object implements mezz.jei.api.gui.handlers.IGuiContainerHandler<BasicContainerScreen<T>>
  • Constructor Details

    • BasicContainerScreenHandler

      public BasicContainerScreenHandler()
  • Method Details

    • getGuiExtraAreas

      @Nonnull public List<net.minecraft.client.renderer.Rect2i> getGuiExtraAreas(BasicContainerScreen<T> 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<T extends net.minecraft.world.inventory.AbstractContainerMenu>
      Returns:
      the space that the gui takes up besides the normal rectangle defined by AbstractContainerScreen.