Class GUI

All Implemented Interfaces:
IGUI

public class GUI extends GeneratableElement implements IGUI
  • Field Details

    • type

      public int type
    • width

      public int width
    • height

      public int height
    • inventoryOffsetX

      public int inventoryOffsetX
    • inventoryOffsetY

      public int inventoryOffsetY
    • renderBgLayer

      public boolean renderBgLayer
    • doesPauseGame

      public boolean doesPauseGame
    • components

      public List<GUIComponent> components
    • onOpen

      public Procedure onOpen
    • onTick

      public Procedure onTick
    • onClosed

      public Procedure onClosed
    • gridSettings

      public GridSettings gridSettings
    • W

      public final transient int W
    • H

      public final transient int H
  • Constructor Details

  • Method Details

    • getMaxSlotID

      public int getMaxSlotID()
    • hasButtonEvents

      public boolean hasButtonEvents()
    • hasSlotEvents

      public boolean hasSlotEvents()
    • getInventorySlotsX

      public int getInventorySlotsX()
    • getInventorySlotsY

      public int getInventorySlotsY()
    • finalizeModElementGeneration

      public void finalizeModElementGeneration()
      Description copied from class: GeneratableElement
      This method should take care of generating additional mod element resources for cases such as GUI mod element
      Overrides:
      finalizeModElementGeneration in class GeneratableElement
    • getComponents

      public List<GUIComponent> getComponents()
      Specified by:
      getComponents in interface IGUI