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$aintermediary net/minecraft/class_338$class_7593named net/minecraft/client/gui/hud/ChatHud$class_7593official aintermediary comp_903named messageofficial bintermediary comp_904named tag
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.tag()Returns the value of thetagrecord component.final StringtoString()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 themessagerecord component.- Returns:
- the value of the
messagerecord component
-
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-