Enum Class GuiMessageTag.Icon

java.lang.Object
java.lang.Enum<GuiMessageTag.Icon>
net.minecraft.client.GuiMessageTag.Icon
All Implemented Interfaces:
Serializable, Comparable<GuiMessageTag.Icon>, Constable
Enclosing class:
GuiMessageTag

public static enum GuiMessageTag.Icon extends Enum<GuiMessageTag.Icon>
  • Enum Constant Details

  • Field Details

    • u

      public final int u
    • v

      public final int v
    • width

      public final int width
    • height

      public final int height
  • Constructor Details

    • Icon

      private Icon(int p_240599_, int p_240544_, int p_240607_, int p_240531_)
  • Method Details

    • values

      public static GuiMessageTag.Icon[] 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 GuiMessageTag.Icon 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
    • draw

      public void draw(PoseStack p_243334_, int p_240533_, int p_240626_)