Package net.minecraft.client.gui.hud
Record Class ChatHud.class_7593
java.lang.Object
java.lang.Record
net.minecraft.client.gui.hud.ChatHud.class_7593
- Record Components:
message
-tag
-
- Enclosing class:
ChatHud
@Environment(CLIENT)
private static record ChatHud.class_7593(Text message, @Nullable class_7591 tag)
extends Record
- Mappings:
Namespace Name official egu$a
intermediary net/minecraft/class_338$class_7593
named net/minecraft/client/gui/hud/ChatHud$class_7593
official a
intermediary comp_903
named message
official b
intermediary comp_904
named tag
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.tag()
Returns the value of thetag
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_7593
class_7593(Text text, @Nullable @Nullable class_7591 class_7591)
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
tag
Returns the value of thetag
record component.- Returns:
- the value of the
tag
record component
-