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

    • sprite

      public final ResourceLocation sprite
    • width

      public final int width
    • height

      public final int height
  • Constructor Details

    • Icon

      private Icon(ResourceLocation p_297981_, int p_240599_, int p_240544_)
  • 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(GuiGraphics p_282284_, int p_282597_, int p_283579_)