Interface ICustomGui

All Superinterfaces:
IComponentsWrapper

public interface ICustomGui extends IComponentsWrapper
  • Method Details

    • getID

      int getID()
    • getWidth

      int getWidth()
    • getHeight

      int getHeight()
    • setSize

      void setSize(int width, int height)
    • setDoesPauseGame

      void setDoesPauseGame(boolean pauseGame)
    • setBackgroundTexture

      void setBackgroundTexture(String resourceLocation)
    • update

      void update()
      Update the player's CustomGUI with this one.
    • update

      void update(ICustomGuiComponent component)
      Updates a single component of a gui, instead of the whole gui
    • getScrollingPanel

      IComponentsScrollableWrapper getScrollingPanel()
    • openSubGui

      void openSubGui(ICustomGui gui)
    • getSubGui

      ICustomGui getSubGui()
    • hasSubGui

      boolean hasSubGui()
    • closeSubGui

      ICustomGui closeSubGui()
    • close

      void close()
      If this is a subgui it closes the subgui
    • getParentGui

      ICustomGui getParentGui()
    • getRootGui

      ICustomGui getRootGui()
    • getActiveGui

      ICustomGui getActiveGui()
    • getPlayer

      IPlayer getPlayer()