Package net.minecraft.client.gui.hud
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 efqintermediary net/minecraft/class_7591named net/minecraft/client/gui/hud/MessageIndicatorofficial aintermediary comp_899named indicatorColorofficial bintermediary comp_900named iconofficial cintermediary comp_901named textofficial dintermediary comp_902named loggedName
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Identifierprivate static final MessageIndicatorprivate static final Textprivate final MessageIndicator.IconThe field for theiconrecord component.private final intThe field for theindicatorColorrecord component.The field for theloggedNamerecord component.private static final intprivate static final Textprivate static final MessageIndicatorprivate static final intprivate static final Textprivate static final MessageIndicatorprivate static final intThe field for thetextrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionMessageIndicator(int int2, @Nullable MessageIndicator.Icon icon, @Nullable Text text, @Nullable String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static MessageIndicatorfiltered()final inthashCode()Returns a hash code value for this object.icon()Returns the value of theiconrecord component.intReturns the value of theindicatorColorrecord component.Returns the value of theloggedNamerecord component.static MessageIndicatorstatic MessageIndicatorstatic MessageIndicatorsystem()text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
indicatorColor
private final int indicatorColorThe field for theindicatorColorrecord component. -
icon
The field for theiconrecord component. -
text
The field for thetextrecord component. -
loggedName
The field for theloggedNamerecord component. -
NOT_SECURE_TEXT
- Mappings:
Namespace Name Mixin selector official eLefq;e:Lrq;intermediary field_39756Lnet/minecraft/class_7591;field_39756:Lnet/minecraft/class_2561;named NOT_SECURE_TEXTLnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE_TEXT:Lnet/minecraft/text/Text;
-
MODIFIED_TEXT
- Mappings:
Namespace Name Mixin selector official fLefq;f:Lrq;intermediary field_39757Lnet/minecraft/class_7591;field_39757:Lnet/minecraft/class_2561;named MODIFIED_TEXTLnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_TEXT:Lnet/minecraft/text/Text;
-
FILTERED_TEXT
- Mappings:
Namespace Name Mixin selector official gLefq;g:Lrq;intermediary field_39922Lnet/minecraft/class_7591;field_39922:Lnet/minecraft/class_2561;named FILTERED_TEXTLnet/minecraft/client/gui/hud/MessageIndicator;FILTERED_TEXT:Lnet/minecraft/text/Text;
-
SYSTEM_COLOR
private static final int SYSTEM_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official hLefq;h:Iintermediary field_39788Lnet/minecraft/class_7591;field_39788:Inamed SYSTEM_COLORLnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM_COLOR:I
-
NOT_SECURE_COLOR
private static final int NOT_SECURE_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official iLefq;i:Iintermediary field_39758Lnet/minecraft/class_7591;field_39758:Inamed NOT_SECURE_COLORLnet/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 jLefq;j:Iintermediary field_39759Lnet/minecraft/class_7591;field_39759:Inamed MODIFIED_COLORLnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_COLOR:I
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official kLefq;k:Lefq;intermediary field_39789Lnet/minecraft/class_7591;field_39789:Lnet/minecraft/class_7591;named SYSTEMLnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM:Lnet/minecraft/client/gui/hud/MessageIndicator;
-
NOT_SECURE
- Mappings:
Namespace Name Mixin selector official lLefq;l:Lefq;intermediary field_39760Lnet/minecraft/class_7591;field_39760:Lnet/minecraft/class_7591;named NOT_SECURELnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE:Lnet/minecraft/client/gui/hud/MessageIndicator;
-
FILTERED
- Mappings:
Namespace Name Mixin selector official mLefq;m:Lefq;intermediary field_39923Lnet/minecraft/class_7591;field_39923:Lnet/minecraft/class_7591;named FILTEREDLnet/minecraft/client/gui/hud/MessageIndicator;FILTERED:Lnet/minecraft/client/gui/hud/MessageIndicator;
-
CHAT_TAGS_TEXTURE
- Mappings:
Namespace Name Mixin selector official nLefq;n:Labb;intermediary field_39761Lnet/minecraft/class_7591;field_39761:Lnet/minecraft/class_2960;named CHAT_TAGS_TEXTURELnet/minecraft/client/gui/hud/MessageIndicator;CHAT_TAGS_TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
MessageIndicator
-
-
Method Details
-
system
- Mappings:
Namespace Name Mixin selector official aLefq;a()Lefq;intermediary method_44751Lnet/minecraft/class_7591;method_44751()Lnet/minecraft/class_7591;named systemLnet/minecraft/client/gui/hud/MessageIndicator;system()Lnet/minecraft/client/gui/hud/MessageIndicator;
-
notSecure
- Mappings:
Namespace Name Mixin selector official bLefq;b()Lefq;intermediary method_44709Lnet/minecraft/class_7591;method_44709()Lnet/minecraft/class_7591;named notSecureLnet/minecraft/client/gui/hud/MessageIndicator;notSecure()Lnet/minecraft/client/gui/hud/MessageIndicator;
-
modified
- Mappings:
Namespace Name Mixin selector official aLefq;a(Ljava/lang/String;)Lefq;intermediary method_44710Lnet/minecraft/class_7591;method_44710(Ljava/lang/String;)Lnet/minecraft/class_7591;named modifiedLnet/minecraft/client/gui/hud/MessageIndicator;modified(Ljava/lang/String;)Lnet/minecraft/client/gui/hud/MessageIndicator;
-
filtered
- Mappings:
Namespace Name Mixin selector official cLefq;c()Lefq;intermediary method_45071Lnet/minecraft/class_7591;method_45071()Lnet/minecraft/class_7591;named filteredLnet/minecraft/client/gui/hud/MessageIndicator;filtered()Lnet/minecraft/client/gui/hud/MessageIndicator;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
indicatorColor
public int indicatorColor()Returns the value of theindicatorColorrecord component.- Returns:
- the value of the
indicatorColorrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
loggedName
Returns the value of theloggedNamerecord component.- Returns:
- the value of the
loggedNamerecord component
-