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 eqq$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 Leqq$a;a:Leqq$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

    • texture

      public final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      official b Leqq$a;b:Laew;
      intermediary field_45292 Lnet/minecraft/class_7591$class_7592;field_45292:Lnet/minecraft/class_2960;
      named texture Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;texture:Lnet/minecraft/util/Identifier;
    • width

      public final int width
      Mappings:
      Namespace Name Mixin selector
      official c Leqq$a;c: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 d Leqq$a;d: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(Identifier texture, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqq$a;<init>(Ljava/lang/String;ILaew;II)V
      intermediary <init> Lnet/minecraft/class_7591$class_7592;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;II)V
      named <init> Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)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 Leqq$a;a(Lesf;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