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 efq
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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Identifier
private static final MessageIndicator
private static final Text
private final MessageIndicator.Icon
The field for theicon
record component.private final int
The field for theindicatorColor
record component.The field for theloggedName
record component.private static final int
private static final Text
private static final MessageIndicator
private static final int
private static final Text
private static final MessageIndicator
private static final int
The field for thetext
record component. -
Constructor Summary
ConstructorDescriptionMessageIndicator
(int int2, @Nullable MessageIndicator.Icon icon, @Nullable Text text, @Nullable String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.static MessageIndicator
filtered()
final int
hashCode()
Returns a hash code value for this object.icon()
Returns the value of theicon
record component.int
Returns the value of theindicatorColor
record component.Returns the value of theloggedName
record component.static MessageIndicator
static MessageIndicator
static MessageIndicator
system()
text()
Returns the value of thetext
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
indicatorColor
private final int indicatorColorThe field for theindicatorColor
record component. -
icon
The field for theicon
record component. -
text
The field for thetext
record component. -
loggedName
The field for theloggedName
record component. -
NOT_SECURE_TEXT
- Mappings:
Namespace Name Mixin selector official e
Lefq;e:Lrq;
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
- Mappings:
Namespace Name Mixin selector official f
Lefq;f:Lrq;
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;
-
FILTERED_TEXT
- Mappings:
Namespace Name Mixin selector official g
Lefq;g:Lrq;
intermediary field_39922
Lnet/minecraft/class_7591;field_39922:Lnet/minecraft/class_2561;
named FILTERED_TEXT
Lnet/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 h
Lefq;h:I
intermediary field_39788
Lnet/minecraft/class_7591;field_39788:I
named SYSTEM_COLOR
Lnet/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 i
Lefq;i: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 j
Lefq;j:I
intermediary field_39759
Lnet/minecraft/class_7591;field_39759:I
named MODIFIED_COLOR
Lnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_COLOR:I
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official k
Lefq;k:Lefq;
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;
-
NOT_SECURE
- Mappings:
Namespace Name Mixin selector official l
Lefq;l:Lefq;
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;
-
FILTERED
- Mappings:
Namespace Name Mixin selector official m
Lefq;m:Lefq;
intermediary field_39923
Lnet/minecraft/class_7591;field_39923:Lnet/minecraft/class_7591;
named FILTERED
Lnet/minecraft/client/gui/hud/MessageIndicator;FILTERED:Lnet/minecraft/client/gui/hud/MessageIndicator;
-
CHAT_TAGS_TEXTURE
- Mappings:
Namespace Name Mixin selector official n
Lefq;n:Labb;
intermediary field_39761
Lnet/minecraft/class_7591;field_39761:Lnet/minecraft/class_2960;
named CHAT_TAGS_TEXTURE
Lnet/minecraft/client/gui/hud/MessageIndicator;CHAT_TAGS_TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
MessageIndicator
-
-
Method Details
-
system
- Mappings:
Namespace Name Mixin selector official a
Lefq;a()Lefq;
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;
-
notSecure
- Mappings:
Namespace Name Mixin selector official b
Lefq;b()Lefq;
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
- Mappings:
Namespace Name Mixin selector official a
Lefq;a(Ljava/lang/String;)Lefq;
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;
-
filtered
- Mappings:
Namespace Name Mixin selector official c
Lefq;c()Lefq;
intermediary method_45071
Lnet/minecraft/class_7591;method_45071()Lnet/minecraft/class_7591;
named filtered
Lnet/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 theindicatorColor
record component.- Returns:
- the value of the
indicatorColor
record component
-
icon
Returns the value of theicon
record component.- Returns:
- the value of the
icon
record component
-
text
Returns the value of thetext
record component.- Returns:
- the value of the
text
record component
-
loggedName
Returns the value of theloggedName
record component.- Returns:
- the value of the
loggedName
record component
-