Enum Class PonderGuiTextures

java.lang.Object
java.lang.Enum<PonderGuiTextures>
net.createmod.ponder.enums.PonderGuiTextures
All Implemented Interfaces:
Serializable, Comparable<PonderGuiTextures>, Constable, net.createmod.catnip.gui.element.ScreenElement, net.createmod.catnip.gui.TextureSheetSegment, net.createmod.catnip.render.BindableTexture, net.createmod.catnip.render.ColoredRenderable

public enum PonderGuiTextures extends Enum<PonderGuiTextures> implements net.createmod.catnip.gui.TextureSheetSegment, net.createmod.catnip.gui.element.ScreenElement, net.createmod.catnip.render.ColoredRenderable
  • Enum Constant Details

  • Field Details

    • location

      public final net.minecraft.resources.ResourceLocation location
  • Method Details

    • values

      public static PonderGuiTextures[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PonderGuiTextures valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, int x, int y)
      Specified by:
      render in interface net.createmod.catnip.gui.element.ScreenElement
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, net.createmod.catnip.utility.theme.Color c)
      Specified by:
      render in interface net.createmod.catnip.render.ColoredRenderable
    • getLocation

      public net.minecraft.resources.ResourceLocation getLocation()
      Specified by:
      getLocation in interface net.createmod.catnip.render.BindableTexture
    • getStartX

      public int getStartX()
      Specified by:
      getStartX in interface net.createmod.catnip.gui.TextureSheetSegment
    • getStartY

      public int getStartY()
      Specified by:
      getStartY in interface net.createmod.catnip.gui.TextureSheetSegment
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface net.createmod.catnip.gui.TextureSheetSegment
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface net.createmod.catnip.gui.TextureSheetSegment