Enum Class MessageIndicator.Icon

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

@Environment(CLIENT) public static enum MessageIndicator.Icon extends Enum<MessageIndicator.Icon>
Mappings:
Namespace Name
official emu$a
intermediary net/minecraft/class_7591$class_7592
named net/minecraft/client/gui/hud/MessageIndicator$Icon
  • Enum Constant Details

    • CHAT_MODIFIED

      public static final MessageIndicator.Icon CHAT_MODIFIED
      Mappings:
      Namespace Name Mixin selector
      official a Lemu$a;a:Lemu$a;
      intermediary field_39763 Lnet/minecraft/class_7591$class_7592;field_39763:Lnet/minecraft/class_7591$class_7592;
      named CHAT_MODIFIED Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;CHAT_MODIFIED:Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;
  • Field Details

    • u

      public final int u
      Mappings:
      Namespace Name Mixin selector
      official b Lemu$a;b:I
      intermediary field_39764 Lnet/minecraft/class_7591$class_7592;field_39764:I
      named u Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;u:I
    • v

      public final int v
      Mappings:
      Namespace Name Mixin selector
      official c Lemu$a;c:I
      intermediary field_39765 Lnet/minecraft/class_7591$class_7592;field_39765:I
      named v Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;v:I
    • width

      public final int width
      Mappings:
      Namespace Name Mixin selector
      official d Lemu$a;d:I
      intermediary field_39766 Lnet/minecraft/class_7591$class_7592;field_39766:I
      named width Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;width:I
    • height

      public final int height
      Mappings:
      Namespace Name Mixin selector
      official e Lemu$a;e:I
      intermediary field_39767 Lnet/minecraft/class_7591$class_7592;field_39767:I
      named height Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;height:I
  • Constructor Details

    • Icon

      private Icon(int u, int v, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemu$a;<init>(Ljava/lang/String;IIIII)V
      intermediary <init> Lnet/minecraft/class_7591$class_7592;<init>(Ljava/lang/String;IIIII)V
      named <init> Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;<init>(Ljava/lang/String;IIIII)V
  • Method Details

    • values

      public static MessageIndicator.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 MessageIndicator.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(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lemu$a;a(Leoj;II)V
      intermediary method_44712 Lnet/minecraft/class_7591$class_7592;method_44712(Lnet/minecraft/class_332;II)V
      named draw Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;draw(Lnet/minecraft/client/gui/DrawContext;II)V