Package net.minecraft

Record Class class_7634

java.lang.Object
java.lang.Record
net.minecraft.class_7634
Record Components:
plain -
decorated -

public record class_7634(Text plain, Text decorated) extends Record
Mappings:
Namespace Name
official rh
intermediary net/minecraft/class_7634
named net/minecraft/class_7634
official a
intermediary comp_963
named plain
official b
intermediary comp_964
named decorated
  • Field Details

    • plain

      private final Text plain
      The field for the plain record component.
    • decorated

      private final Text decorated
      The field for the decorated record component.
  • Constructor Details

    • class_7634

      public class_7634(Text text)
    • class_7634

      public class_7634(String string, Text text)
    • class_7634

      public class_7634(String string)
    • class_7634

      public class_7634(Text text, Text text2)
  • Method Details

    • method_44974

      public static FilteredMessage<class_7634> method_44974(FilteredMessage<String> filteredMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a(Lagr;)Lagr;
      intermediary method_44974 Lnet/minecraft/class_7634;method_44974(Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
      named method_44974 Lnet/minecraft/class_7634;method_44974(Lnet/minecraft/server/filter/FilteredMessage;)Lnet/minecraft/server/filter/FilteredMessage;
    • method_44975

      public static FilteredMessage<class_7634> method_44975(FilteredMessage<String> filteredMessage, FilteredMessage<Text> filteredMessage2)
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a(Lagr;Lagr;)Lagr;
      intermediary method_44975 Lnet/minecraft/class_7634;method_44975(Lnet/minecraft/class_5837;Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
      named method_44975 Lnet/minecraft/class_7634;method_44975(Lnet/minecraft/server/filter/FilteredMessage;Lnet/minecraft/server/filter/FilteredMessage;)Lnet/minecraft/server/filter/FilteredMessage;
    • method_44973

      public boolean method_44973()
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a()Z
      intermediary method_44973 Lnet/minecraft/class_7634;method_44973()Z
      named method_44973 Lnet/minecraft/class_7634;method_44973()Z
    • method_44977

      public static class_7634 method_44977(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a(Lqx;)Lrh;
      intermediary method_44977 Lnet/minecraft/class_7634;method_44977(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7634;
      named method_44977 Lnet/minecraft/class_7634;method_44977(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/class_7634;
    • method_44978

      public static void method_44978(PacketByteBuf packetByteBuf, class_7634 class_7634)
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a(Lqx;Lrh;)V
      intermediary method_44978 Lnet/minecraft/class_7634;method_44978(Lnet/minecraft/class_2540;Lnet/minecraft/class_7634;)V
      named method_44978 Lnet/minecraft/class_7634;method_44978(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/class_7634;)V
    • 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.
    • plain

      public Text plain()
      Returns the value of the plain record component.
      Returns:
      the value of the plain record component
    • decorated

      public Text decorated()
      Returns the value of the decorated record component.
      Returns:
      the value of the decorated record component