Interface ICustomGui


  • public interface ICustomGui
    • Method Detail

      • getID

        int getID()
      • getWidth

        int getWidth()
      • getHeight

        int getHeight()
      • clear

        void clear()
      • getSlots

        java.util.List<IItemSlot> getSlots()
      • setSize

        void setSize​(int width,
                     int height)
      • setDoesPauseGame

        void setDoesPauseGame​(boolean pauseGame)
      • doesPauseGame

        boolean doesPauseGame()
      • setBackgroundTexture

        void setBackgroundTexture​(java.lang.String resourceLocation)
      • getBackgroundTexture

        java.lang.String getBackgroundTexture()
      • addButton

        IButton addButton​(int id,
                          java.lang.String text,
                          int x,
                          int y)
      • addButton

        IButton addButton​(int id,
                          java.lang.String text,
                          int x,
                          int y,
                          int width,
                          int height)
      • addTexturedButton

        IButton addTexturedButton​(int id,
                                  java.lang.String text,
                                  int x,
                                  int y,
                                  int width,
                                  int height,
                                  java.lang.String texture)
      • addTexturedButton

        IButton addTexturedButton​(int id,
                                  java.lang.String text,
                                  int x,
                                  int y,
                                  int width,
                                  int height,
                                  java.lang.String texture,
                                  int textureX,
                                  int textureY)
      • addLabel

        ILabel addLabel​(int id,
                        java.lang.String text,
                        int x,
                        int y,
                        int width,
                        int height)
      • addLabel

        ILabel addLabel​(int id,
                        java.lang.String text,
                        int x,
                        int y,
                        int width,
                        int height,
                        int color)
      • addTextField

        ITextField addTextField​(int id,
                                int x,
                                int y,
                                int width,
                                int height)
      • addTexturedRect

        ITexturedRect addTexturedRect​(int id,
                                      java.lang.String texture,
                                      int x,
                                      int y,
                                      int width,
                                      int height)
      • addTexturedRect

        ITexturedRect addTexturedRect​(int id,
                                      java.lang.String texture,
                                      int x,
                                      int y,
                                      int width,
                                      int height,
                                      int textureX,
                                      int textureY)
      • addScroll

        IScroll addScroll​(int id,
                          int x,
                          int y,
                          int width,
                          int height,
                          java.lang.String[] list)
      • addLine

        ILine addLine​(int id,
                      int x1,
                      int y1,
                      int x2,
                      int y2,
                      int color,
                      int thickness)
      • addLine

        ILine addLine​(int id,
                      int x1,
                      int y1,
                      int x2,
                      int y2)
      • addItemSlot

        IItemSlot addItemSlot​(int id,
                              int x,
                              int y)
      • addItemSlot

        @Deprecated
        IItemSlot addItemSlot​(int x,
                              int y)
        Deprecated.
      • addItemSlot

        @Deprecated
        IItemSlot addItemSlot​(int x,
                              int y,
                              IItemStack itemStack)
        Deprecated.
      • showPlayerInventory

        void showPlayerInventory​(int x,
                                 int y)
      • removeComponent

        void removeComponent​(int id)
      • update

        void update​(IPlayer player)
      • getShowPlayerInv

        boolean getShowPlayerInv()
      • getPlayerInvX

        int getPlayerInvX()
      • getPlayerInvY

        int getPlayerInvY()
      • fromNBT

        ICustomGui fromNBT​(net.minecraft.nbt.NBTTagCompound tag)
      • toNBT

        net.minecraft.nbt.NBTTagCompound toNBT()