Package net.minecraft.network
Record Class MessageType.class_7466
java.lang.Object
java.lang.Record
net.minecraft.network.MessageType.class_7466
- Record Components:
decoration-priority-
- Enclosing class:
MessageType
public static record MessageType.class_7466(Optional<class_7463> decoration, MessageType.class_7466.class_7467 priority)
extends Record
- Mappings:
Namespace Name official rc$aintermediary net/minecraft/class_2556$class_7466named net/minecraft/network/MessageType$class_7466official bintermediary comp_795named decorationofficial cintermediary comp_796named priority
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<class_7463>The field for thedecorationrecord component.static final com.mojang.serialization.Codec<MessageType.class_7466>private final MessageType.class_7466.class_7467The field for thepriorityrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7466(Optional<class_7463> optional, MessageType.class_7466.class_7467 class_7467) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecorationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static MessageType.class_7466method_43847(class_7463 class_7463, MessageType.class_7466.class_7467 class_7467) static MessageType.class_7466method_43848(MessageType.class_7466.class_7467 class_7467) method_43849(Text text, @Nullable ChatMessageSender chatMessageSender) priority()Returns the value of thepriorityrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
decoration
The field for thedecorationrecord component. -
priority
The field for thepriorityrecord component. -
field_39233
- Mappings:
Namespace Name Mixin selector official aLrc$a;a:Lcom/mojang/serialization/Codec;intermediary field_39233Lnet/minecraft/class_2556$class_7466;field_39233:Lcom/mojang/serialization/Codec;named field_39233Lnet/minecraft/network/MessageType$class_7466;field_39233:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7466
-
-
Method Details
-
method_43848
- Mappings:
Namespace Name Mixin selector official aLrc$a;a(Lrc$a$a;)Lrc$a;intermediary method_43848Lnet/minecraft/class_2556$class_7466;method_43848(Lnet/minecraft/class_2556$class_7466$class_7467;)Lnet/minecraft/class_2556$class_7466;named method_43848Lnet/minecraft/network/MessageType$class_7466;method_43848(Lnet/minecraft/network/MessageType$class_7466$class_7467;)Lnet/minecraft/network/MessageType$class_7466;
-
method_43847
public static MessageType.class_7466 method_43847(class_7463 class_7463, MessageType.class_7466.class_7467 class_7467) - Mappings:
Namespace Name Mixin selector official aLrc$a;a(Lra;Lrc$a$a;)Lrc$a;intermediary method_43847Lnet/minecraft/class_2556$class_7466;method_43847(Lnet/minecraft/class_7463;Lnet/minecraft/class_2556$class_7466$class_7467;)Lnet/minecraft/class_2556$class_7466;named method_43847Lnet/minecraft/network/MessageType$class_7466;method_43847(Lnet/minecraft/class_7463;Lnet/minecraft/network/MessageType$class_7466$class_7467;)Lnet/minecraft/network/MessageType$class_7466;
-
method_43849
- Mappings:
Namespace Name Mixin selector official aLrc$a;a(Lrf;Lrb;)Lrf;intermediary method_43849Lnet/minecraft/class_2556$class_7466;method_43849(Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;named method_43849Lnet/minecraft/network/MessageType$class_7466;method_43849(Lnet/minecraft/text/Text;Lnet/minecraft/network/ChatMessageSender;)Lnet/minecraft/text/Text;
-
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). -
decoration
Returns the value of thedecorationrecord component.- Returns:
- the value of the
decorationrecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-