Package net.minecraft

Record Class class_8440

java.lang.Object
java.lang.Record
net.minecraft.class_8440
Record Components:
contents -
index -
original -

@Environment(CLIENT) public record class_8440(OrderedText contents, long index, Text original) extends Record
Mappings:
Namespace Name
official eyo
intermediary net/minecraft/class_8440
named net/minecraft/class_8440
official a
intermediary comp_1444
named contents
official b
intermediary comp_1445
named index
official c
intermediary comp_1446
named original
  • Field Details

    • contents

      private final OrderedText contents
      The field for the contents record component.
    • index

      private final long index
      The field for the index record component.
    • original

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

    • class_8440

      public class_8440(OrderedText orderedText, long long2, Text text)
  • Method Details

    • method_50950

      public static Stream<class_8440> method_50950(TextRenderer textRenderer, Stream<Text> stream, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Leyo;a(Lesu;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
      intermediary method_50950 Lnet/minecraft/class_8440;method_50950(Lnet/minecraft/class_327;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
      named method_50950 Lnet/minecraft/class_8440;method_50950(Lnet/minecraft/client/font/TextRenderer;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • contents

      public OrderedText contents()
      Returns the value of the contents record component.
      Returns:
      the value of the contents record component
    • index

      public long index()
      Returns the value of the index record component.
      Returns:
      the value of the index record component
    • original

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