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 named net/minecraft/client/gui/hud/MessageIndicator
intermediary net/minecraft/class_7591
official fgd
named indicatorColor
intermediary comp_899
official a
named icon
intermediary comp_900
official b
named text
intermediary comp_901
official c
named loggedName
intermediary comp_902
official d
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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 Text
private static final MessageIndicator
private static final Text
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 TypeMethodDescriptionstatic MessageIndicator
final boolean
Indicates whether some other object is "equal to" this one.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
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. -
SYSTEM_TEXT
- Mappings:
Namespace Name Mixin selector named SYSTEM_TEXT
Lnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM_TEXT:Lnet/minecraft/text/Text;
intermediary field_40379
Lnet/minecraft/class_7591;field_40379:Lnet/minecraft/class_2561;
official e
Lfgd;e:Lwy;
-
SINGLE_PLAYER_TEXT
- Mappings:
Namespace Name Mixin selector named SINGLE_PLAYER_TEXT
Lnet/minecraft/client/gui/hud/MessageIndicator;SINGLE_PLAYER_TEXT:Lnet/minecraft/text/Text;
intermediary field_41092
Lnet/minecraft/class_7591;field_41092:Lnet/minecraft/class_2561;
official f
Lfgd;f:Lwy;
-
NOT_SECURE_TEXT
- Mappings:
Namespace Name Mixin selector named NOT_SECURE_TEXT
Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE_TEXT:Lnet/minecraft/text/Text;
intermediary field_39756
Lnet/minecraft/class_7591;field_39756:Lnet/minecraft/class_2561;
official g
Lfgd;g:Lwy;
-
MODIFIED_TEXT
- Mappings:
Namespace Name Mixin selector named MODIFIED_TEXT
Lnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_TEXT:Lnet/minecraft/text/Text;
intermediary field_39757
Lnet/minecraft/class_7591;field_39757:Lnet/minecraft/class_2561;
official h
Lfgd;h:Lwy;
-
ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named ERROR_TEXT
Lnet/minecraft/client/gui/hud/MessageIndicator;ERROR_TEXT:Lnet/minecraft/text/Text;
intermediary field_45897
Lnet/minecraft/class_7591;field_45897:Lnet/minecraft/class_2561;
official i
Lfgd;i:Lwy;
-
NOT_SECURE_COLOR
private static final int NOT_SECURE_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named NOT_SECURE_COLOR
Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE_COLOR:I
intermediary field_39758
Lnet/minecraft/class_7591;field_39758:I
official j
Lfgd;j:I
-
MODIFIED_COLOR
private static final int MODIFIED_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named MODIFIED_COLOR
Lnet/minecraft/client/gui/hud/MessageIndicator;MODIFIED_COLOR:I
intermediary field_39759
Lnet/minecraft/class_7591;field_39759:I
official k
Lfgd;k:I
-
SYSTEM
- Mappings:
Namespace Name Mixin selector named SYSTEM
Lnet/minecraft/client/gui/hud/MessageIndicator;SYSTEM:Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary field_39789
Lnet/minecraft/class_7591;field_39789:Lnet/minecraft/class_7591;
official l
Lfgd;l:Lfgd;
-
SINGLE_PLAYER
- Mappings:
Namespace Name Mixin selector named SINGLE_PLAYER
Lnet/minecraft/client/gui/hud/MessageIndicator;SINGLE_PLAYER:Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary field_41093
Lnet/minecraft/class_7591;field_41093:Lnet/minecraft/class_7591;
official m
Lfgd;m:Lfgd;
-
NOT_SECURE
- Mappings:
Namespace Name Mixin selector named NOT_SECURE
Lnet/minecraft/client/gui/hud/MessageIndicator;NOT_SECURE:Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary field_39760
Lnet/minecraft/class_7591;field_39760:Lnet/minecraft/class_7591;
official n
Lfgd;n:Lfgd;
-
CHAT_ERROR
- Mappings:
Namespace Name Mixin selector named CHAT_ERROR
Lnet/minecraft/client/gui/hud/MessageIndicator;CHAT_ERROR:Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary field_45898
Lnet/minecraft/class_7591;field_45898:Lnet/minecraft/class_7591;
official o
Lfgd;o:Lfgd;
-
-
Constructor Details
-
MessageIndicator
-
-
Method Details
-
system
- Mappings:
Namespace Name Mixin selector named system
Lnet/minecraft/client/gui/hud/MessageIndicator;system()Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary method_44751
Lnet/minecraft/class_7591;method_44751()Lnet/minecraft/class_7591;
official a
Lfgd;a()Lfgd;
-
singlePlayer
- Mappings:
Namespace Name Mixin selector named singlePlayer
Lnet/minecraft/client/gui/hud/MessageIndicator;singlePlayer()Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary method_47391
Lnet/minecraft/class_7591;method_47391()Lnet/minecraft/class_7591;
official b
Lfgd;b()Lfgd;
-
notSecure
- Mappings:
Namespace Name Mixin selector named notSecure
Lnet/minecraft/client/gui/hud/MessageIndicator;notSecure()Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary method_44709
Lnet/minecraft/class_7591;method_44709()Lnet/minecraft/class_7591;
official c
Lfgd;c()Lfgd;
-
modified
- Mappings:
Namespace Name Mixin selector named modified
Lnet/minecraft/client/gui/hud/MessageIndicator;modified(Ljava/lang/String;)Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary method_44710
Lnet/minecraft/class_7591;method_44710(Ljava/lang/String;)Lnet/minecraft/class_7591;
official a
Lfgd;a(Ljava/lang/String;)Lfgd;
-
chatError
- Mappings:
Namespace Name Mixin selector named chatError
Lnet/minecraft/client/gui/hud/MessageIndicator;chatError()Lnet/minecraft/client/gui/hud/MessageIndicator;
intermediary method_53461
Lnet/minecraft/class_7591;method_53461()Lnet/minecraft/class_7591;
official d
Lfgd;d()Lfgd;
-
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
-