Record Class MessageIndicator

java.lang.Object
java.lang.Record
net.minecraft.client.gui.hud.MessageIndicator
Record Components:
indicatorColor -
icon -
text -
loggedName -

@Environment(CLIENT) public record MessageIndicator(int indicatorColor, MessageIndicator.Icon icon, @Nullable Text text, @Nullable String loggedName) extends Record
Mappings:
Namespace Name
official eqq
intermediary net/minecraft/class_7591
named net/minecraft/client/gui/hud/MessageIndicator
official a
intermediary comp_899
named indicatorColor
official b
intermediary comp_900
named icon
official c
intermediary comp_901
named text
official d
intermediary comp_902
named loggedName
  • Field Details

    • indicatorColor

      private final int indicatorColor
      The field for the indicatorColor record component.
    • icon

      @Nullable private final MessageIndicator.Icon icon
      The field for the icon record component.
    • text

      @Nullable private final @Nullable Text text
      The field for the text record component.
    • loggedName

      @Nullable private final @Nullable String loggedName
      The field for the loggedName record component.
    • SYSTEM_TEXT

      private static final Text SYSTEM_TEXT
      Mappings:
      Namespace Name Mixin selector
      official e Leqq;e:Ltl;
      intermediary field_40379 Lnet/minecraft/class_7591;field_40379:Lnet/minecraft/class_2561;
      named SYSTEM_TEXT Lnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM_TEXT:Lnet/minecraft/text/Text;
    • SINGLE_PLAYER_TEXT

      private static final Text SINGLE_PLAYER_TEXT
      Mappings:
      Namespace Name Mixin selector
      official f Leqq;f:Ltl;
      intermediary field_41092 Lnet/minecraft/class_7591;field_41092:Lnet/minecraft/class_2561;
      named SINGLE_PLAYER_TEXT Lnet/minecraft/client/gui/hud/MessageIndicator;SINGLE_PLAYER_TEXT:Lnet/minecraft/text/Text;
    • NOT_SECURE_TEXT

      private static final Text NOT_SECURE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official g Leqq;g:Ltl;
      intermediary field_39756 Lnet/minecraft/class_7591;field_39756:Lnet/minecraft/class_2561;
      named NOT_SECURE_TEXT Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE_TEXT:Lnet/minecraft/text/Text;
    • MODIFIED_TEXT

      private static final Text MODIFIED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official h Leqq;h:Ltl;
      intermediary field_39757 Lnet/minecraft/class_7591;field_39757:Lnet/minecraft/class_2561;
      named MODIFIED_TEXT Lnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_TEXT:Lnet/minecraft/text/Text;
    • ERROR_TEXT

      private static final Text ERROR_TEXT
      Mappings:
      Namespace Name Mixin selector
      official i Leqq;i:Ltl;
      intermediary field_45897 Lnet/minecraft/class_7591;field_45897:Lnet/minecraft/class_2561;
      named ERROR_TEXT Lnet/minecraft/client/gui/hud/MessageIndicator;ERROR_TEXT:Lnet/minecraft/text/Text;
    • NOT_SECURE_COLOR

      private static final int NOT_SECURE_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Leqq;j:I
      intermediary field_39758 Lnet/minecraft/class_7591;field_39758:I
      named NOT_SECURE_COLOR Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE_COLOR:I
    • MODIFIED_COLOR

      private static final int MODIFIED_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Leqq;k:I
      intermediary field_39759 Lnet/minecraft/class_7591;field_39759:I
      named MODIFIED_COLOR Lnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_COLOR:I
    • SYSTEM

      private static final MessageIndicator SYSTEM
      Mappings:
      Namespace Name Mixin selector
      official l Leqq;l:Leqq;
      intermediary field_39789 Lnet/minecraft/class_7591;field_39789:Lnet/minecraft/class_7591;
      named SYSTEM Lnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM:Lnet/minecraft/client/gui/hud/MessageIndicator;
    • SINGLE_PLAYER

      private static final MessageIndicator SINGLE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official m Leqq;m:Leqq;
      intermediary field_41093 Lnet/minecraft/class_7591;field_41093:Lnet/minecraft/class_7591;
      named SINGLE_PLAYER Lnet/minecraft/client/gui/hud/MessageIndicator;SINGLE_PLAYER:Lnet/minecraft/client/gui/hud/MessageIndicator;
    • NOT_SECURE

      private static final MessageIndicator NOT_SECURE
      Mappings:
      Namespace Name Mixin selector
      official n Leqq;n:Leqq;
      intermediary field_39760 Lnet/minecraft/class_7591;field_39760:Lnet/minecraft/class_7591;
      named NOT_SECURE Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE:Lnet/minecraft/client/gui/hud/MessageIndicator;
    • CHAT_ERROR

      private static final MessageIndicator CHAT_ERROR
      Mappings:
      Namespace Name Mixin selector
      official o Leqq;o:Leqq;
      intermediary field_45898 Lnet/minecraft/class_7591;field_45898:Lnet/minecraft/class_7591;
      named CHAT_ERROR Lnet/minecraft/client/gui/hud/MessageIndicator;CHAT_ERROR:Lnet/minecraft/client/gui/hud/MessageIndicator;
  • Constructor Details

    • MessageIndicator

      public MessageIndicator(int int2, @Nullable @Nullable MessageIndicator.Icon icon, @Nullable @Nullable Text text, @Nullable @Nullable String string)
  • Method Details

    • system

      public static MessageIndicator system()
      Mappings:
      Namespace Name Mixin selector
      official a Leqq;a()Leqq;
      intermediary method_44751 Lnet/minecraft/class_7591;method_44751()Lnet/minecraft/class_7591;
      named system Lnet/minecraft/client/gui/hud/MessageIndicator;system()Lnet/minecraft/client/gui/hud/MessageIndicator;
    • singlePlayer

      public static MessageIndicator singlePlayer()
      Mappings:
      Namespace Name Mixin selector
      official b Leqq;b()Leqq;
      intermediary method_47391 Lnet/minecraft/class_7591;method_47391()Lnet/minecraft/class_7591;
      named singlePlayer Lnet/minecraft/client/gui/hud/MessageIndicator;singlePlayer()Lnet/minecraft/client/gui/hud/MessageIndicator;
    • notSecure

      public static MessageIndicator notSecure()
      Mappings:
      Namespace Name Mixin selector
      official c Leqq;c()Leqq;
      intermediary method_44709 Lnet/minecraft/class_7591;method_44709()Lnet/minecraft/class_7591;
      named notSecure Lnet/minecraft/client/gui/hud/MessageIndicator;notSecure()Lnet/minecraft/client/gui/hud/MessageIndicator;
    • modified

      public static MessageIndicator modified(String originalText)
      Mappings:
      Namespace Name Mixin selector
      official a Leqq;a(Ljava/lang/String;)Leqq;
      intermediary method_44710 Lnet/minecraft/class_7591;method_44710(Ljava/lang/String;)Lnet/minecraft/class_7591;
      named modified Lnet/minecraft/client/gui/hud/MessageIndicator;modified(Ljava/lang/String;)Lnet/minecraft/client/gui/hud/MessageIndicator;
    • chatError

      public static MessageIndicator chatError()
      Mappings:
      Namespace Name Mixin selector
      official d Leqq;d()Leqq;
      intermediary method_53461 Lnet/minecraft/class_7591;method_53461()Lnet/minecraft/class_7591;
      named chatError Lnet/minecraft/client/gui/hud/MessageIndicator;chatError()Lnet/minecraft/client/gui/hud/MessageIndicator;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • indicatorColor

      public int indicatorColor()
      Returns the value of the indicatorColor record component.
      Returns:
      the value of the indicatorColor record component
    • icon

      @Nullable public @Nullable MessageIndicator.Icon icon()
      Returns the value of the icon record component.
      Returns:
      the value of the icon record component
    • text

      @Nullable public @Nullable Text text()
      Returns the value of the text record component.
      Returns:
      the value of the text record component
    • loggedName

      @Nullable public @Nullable String loggedName()
      Returns the value of the loggedName record component.
      Returns:
      the value of the loggedName record component