Interface IExtendedInventoryScreen


@Experimental public interface IExtendedInventoryScreen
Screens which have special support for rendering the ExtendedInventory. The Menu associated with this Screen should implement IExtendedInventoryMenu.
  • Method Details

    • customExtendedInventoryRendering

      default boolean customExtendedInventoryRendering()
    • getLeftHotbarLocation

      net.minecraft.client.renderer.Rect2i getLeftHotbarLocation(ExtendedInventory extendedInventory, int leftHotbarSlots, boolean renderMainInventoryLeft)
    • getRightHotbarLocation

      net.minecraft.client.renderer.Rect2i getRightHotbarLocation(ExtendedInventory extendedInventory, int leftHotbarSlots, boolean renderMainInventoryLeft)
    • getInventoryLocation

      net.minecraft.client.renderer.Rect2i getInventoryLocation(ExtendedInventory extendedInventory, int leftHotbarSlots, boolean renderMainInventoryLeft)
    • getCombinedInventoryHotbarLocation

      net.minecraft.client.renderer.Rect2i getCombinedInventoryHotbarLocation(ExtendedInventory extendedInventory, int leftHotbarSlots, boolean renderMainInventoryLeft)
    • getExtendedInventoryGuiAreas

      List<net.minecraft.client.renderer.Rect2i> getExtendedInventoryGuiAreas(ExtendedInventory extendedInventory)