Package net.minecraft

Record Class class_8873

java.lang.Object
java.lang.Record
net.minecraft.class_8873
Record Components:
segments -
variables -

public record class_8873(List<String> segments, List<String> variables) extends Record
Mappings:
Namespace Name
official hc
intermediary net/minecraft/class_8873
named net/minecraft/class_8873
official a
intermediary comp_1996
named segments
official b
intermediary comp_1997
named variables
  • Field Details

    • segments

      private final List<String> segments
      The field for the segments record component.
    • variables

      private final List<String> variables
      The field for the variables record component.
  • Constructor Details

  • Method Details

    • method_54432

      public static class_8873 method_54432(String string, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/lang/String;I)Lhc;
      intermediary method_54432 Lnet/minecraft/class_8873;method_54432(Ljava/lang/String;I)Lnet/minecraft/class_8873;
      named method_54432 Lnet/minecraft/class_8873;method_54432(Ljava/lang/String;I)Lnet/minecraft/class_8873;
    • method_54431

      private static boolean method_54431(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/lang/String;)Z
      intermediary method_54431 Lnet/minecraft/class_8873;method_54431(Ljava/lang/String;)Z
      named method_54431 Lnet/minecraft/class_8873;method_54431(Ljava/lang/String;)Z
    • method_54433

      public String method_54433(List<String> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/util/List;)Ljava/lang/String;
      intermediary method_54433 Lnet/minecraft/class_8873;method_54433(Ljava/util/List;)Ljava/lang/String;
      named method_54433 Lnet/minecraft/class_8873;method_54433(Ljava/util/List;)Ljava/lang/String;
    • 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.
    • segments

      public List<String> segments()
      Returns the value of the segments record component.
      Returns:
      the value of the segments record component
    • variables

      public List<String> variables()
      Returns the value of the variables record component.
      Returns:
      the value of the variables record component