Package net.minecraft.network.message
Record Class MessageType.class_7602
java.lang.Object
java.lang.Record
net.minecraft.network.message.MessageType.class_7602
- Record Components:
chatType-name-targetName-
- Enclosing class:
MessageType
public static record MessageType.class_7602(MessageType chatType, Text name, @Nullable Text targetName)
extends Record
- Mappings:
Namespace Name official ri$aintermediary net/minecraft/class_2556$class_7602named net/minecraft/network/message/MessageType$class_7602official aintermediary comp_919named chatTypeofficial bintermediary comp_920named nameofficial cintermediary comp_921named targetName
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageTypeThe field for thechatTyperecord component.private final TextThe field for thenamerecord component.The field for thetargetNamerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7602(MessageType messageType, Text text) class_7602(MessageType messageType, Text text, @Nullable Text text2) -
Method Summary
Modifier and TypeMethodDescriptionchatType()Returns the value of thechatTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_44836(DynamicRegistryManager dynamicRegistryManager) method_44837(Text text) method_44838(Text text) method_44839(Text text) name()Returns the value of thenamerecord component.Returns the value of thetargetNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
chatType
The field for thechatTyperecord component. -
name
The field for thenamerecord component. -
targetName
The field for thetargetNamerecord component.
-
-
Constructor Details
-
class_7602
class_7602(MessageType messageType, Text text) -
class_7602
-
-
Method Details
-
method_44837
- Mappings:
Namespace Name Mixin selector official aLri$a;a(Lrm;)Lrm;intermediary method_44837Lnet/minecraft/class_2556$class_7602;method_44837(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;named method_44837Lnet/minecraft/network/message/MessageType$class_7602;method_44837(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
-
method_44838
- Mappings:
Namespace Name Mixin selector official bLri$a;b(Lrm;)Lrm;intermediary method_44838Lnet/minecraft/class_2556$class_7602;method_44838(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;named method_44838Lnet/minecraft/network/message/MessageType$class_7602;method_44838(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
-
method_44839
- Mappings:
Namespace Name Mixin selector official cLri$a;c(Lrm;)Lri$a;intermediary method_44839Lnet/minecraft/class_2556$class_7602;method_44839(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2556$class_7602;named method_44839Lnet/minecraft/network/message/MessageType$class_7602;method_44839(Lnet/minecraft/text/Text;)Lnet/minecraft/network/message/MessageType$class_7602;
-
method_44836
- Mappings:
Namespace Name Mixin selector official aLri$a;a(Lhn;)Lri$b;intermediary method_44836Lnet/minecraft/class_2556$class_7602;method_44836(Lnet/minecraft/class_5455;)Lnet/minecraft/class_2556$class_7603;named method_44836Lnet/minecraft/network/message/MessageType$class_7602;method_44836(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/network/message/MessageType$class_7603;
-
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). -
chatType
Returns the value of thechatTyperecord component.- Returns:
- the value of the
chatTyperecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
targetName
Returns the value of thetargetNamerecord component.- Returns:
- the value of the
targetNamerecord component
-