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$a
intermediary net/minecraft/class_2556$class_7466
named net/minecraft/network/MessageType$class_7466
official b
intermediary comp_795
named decoration
official c
intermediary comp_796
named priority
  • Field Details

    • decoration

      private final Optional<class_7463> decoration
      The field for the decoration record component.
    • priority

      private final MessageType.class_7466.class_7467 priority
      The field for the priority record component.
    • field_39233

      public static final com.mojang.serialization.Codec<MessageType.class_7466> field_39233
      Mappings:
      Namespace Name Mixin selector
      official a Lrc$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_39233 Lnet/minecraft/class_2556$class_7466;field_39233:Lcom/mojang/serialization/Codec;
      named field_39233 Lnet/minecraft/network/MessageType$class_7466;field_39233:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_43848

      public static MessageType.class_7466 method_43848(MessageType.class_7466.class_7467 class_7467)
      Mappings:
      Namespace Name Mixin selector
      official a Lrc$a;a(Lrc$a$a;)Lrc$a;
      intermediary method_43848 Lnet/minecraft/class_2556$class_7466;method_43848(Lnet/minecraft/class_2556$class_7466$class_7467;)Lnet/minecraft/class_2556$class_7466;
      named method_43848 Lnet/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 a Lrc$a;a(Lra;Lrc$a$a;)Lrc$a;
      intermediary method_43847 Lnet/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_43847 Lnet/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

      public Text method_43849(Text text, @Nullable @Nullable ChatMessageSender chatMessageSender)
      Mappings:
      Namespace Name Mixin selector
      official a Lrc$a;a(Lrf;Lrb;)Lrf;
      intermediary method_43849 Lnet/minecraft/class_2556$class_7466;method_43849(Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
      named method_43849 Lnet/minecraft/network/MessageType$class_7466;method_43849(Lnet/minecraft/text/Text;Lnet/minecraft/network/ChatMessageSender;)Lnet/minecraft/text/Text;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • decoration

      public Optional<class_7463> decoration()
      Returns the value of the decoration record component.
      Returns:
      the value of the decoration record component
    • priority

      Returns the value of the priority record component.
      Returns:
      the value of the priority record component