Interface ICustomOverlay


  • public interface ICustomOverlay
    • Method Detail

      • getID

        int getID()
      • getDefaultAlignment

        int getDefaultAlignment()
      • setDefaultAlignment

        void setDefaultAlignment​(int defaultAlignment)
      • addTexturedRect

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

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

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

        IOverlayLabel addLabel​(int id,
                               java.lang.String label,
                               int x,
                               int y,
                               int width,
                               int height,
                               int color)
      • addLine

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

        IOverlayLine addLine​(int id,
                             int x1,
                             int y1,
                             int x2,
                             int y2)
      • removeComponent

        void removeComponent​(int componentID)
      • update

        void update​(IPlayer player)
      • fromNBT

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

        net.minecraft.nbt.NBTTagCompound toNBT()