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
named net/minecraft/client/gui/hud/MessageIndicator$Icon
intermediary net/minecraft/class_7591$class_7592
official ffc$a
  • Enum Constant Details

    • CHAT_MODIFIED

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

    • texture

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

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

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

    • Icon

      private Icon(Identifier texture, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)V
      intermediary <init> Lnet/minecraft/class_7591$class_7592;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;II)V
      official <init> Lffc$a;<init>(Ljava/lang/String;ILalf;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
      named draw Lnet/minecraft/client/gui/hud/MessageIndicator$Icon;draw(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_44712 Lnet/minecraft/class_7591$class_7592;method_44712(Lnet/minecraft/class_332;II)V
      official a Lffc$a;a(Lfgt;II)V