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$a
intermediary net/minecraft/class_2556$class_7602
named net/minecraft/network/message/MessageType$class_7602
official a
intermediary comp_919
named chatType
official b
intermediary comp_920
named name
official c
intermediary comp_921
named targetName
  • Field Details

  • Constructor Details

  • Method Details

    • method_44837

      public Text method_44837(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lri$a;a(Lrm;)Lrm;
      intermediary method_44837 Lnet/minecraft/class_2556$class_7602;method_44837(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
      named method_44837 Lnet/minecraft/network/message/MessageType$class_7602;method_44837(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
    • method_44838

      public Text method_44838(Text text)
      Mappings:
      Namespace Name Mixin selector
      official b Lri$a;b(Lrm;)Lrm;
      intermediary method_44838 Lnet/minecraft/class_2556$class_7602;method_44838(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
      named method_44838 Lnet/minecraft/network/message/MessageType$class_7602;method_44838(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
    • method_44839

      public MessageType.class_7602 method_44839(Text text)
      Mappings:
      Namespace Name Mixin selector
      official c Lri$a;c(Lrm;)Lri$a;
      intermediary method_44839 Lnet/minecraft/class_2556$class_7602;method_44839(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2556$class_7602;
      named method_44839 Lnet/minecraft/network/message/MessageType$class_7602;method_44839(Lnet/minecraft/text/Text;)Lnet/minecraft/network/message/MessageType$class_7602;
    • method_44836

      public MessageType.class_7603 method_44836(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lri$a;a(Lhn;)Lri$b;
      intermediary method_44836 Lnet/minecraft/class_2556$class_7602;method_44836(Lnet/minecraft/class_5455;)Lnet/minecraft/class_2556$class_7603;
      named method_44836 Lnet/minecraft/network/message/MessageType$class_7602;method_44836(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/network/message/MessageType$class_7603;
    • 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.
    • chatType

      public MessageType chatType()
      Returns the value of the chatType record component.
      Returns:
      the value of the chatType record component
    • name

      public Text name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • targetName

      @Nullable public @Nullable Text targetName()
      Returns the value of the targetName record component.
      Returns:
      the value of the targetName record component