Package net.minecraft

Record Class class_7929.class_7932

java.lang.Object
java.lang.Record
net.minecraft.class_7929.class_7932
Record Components:
date -
index -
Enclosing class:
class_7929

public static record class_7929.class_7932(LocalDate date, int index) extends Record
Mappings:
Namespace Name
official ayn$c
intermediary net/minecraft/class_7929$class_7932
named net/minecraft/class_7929$class_7932
official a
intermediary comp_1158
named date
official b
intermediary comp_1159
named index
  • Field Details

    • date

      private final LocalDate date
      The field for the date record component.
    • index

      private final int index
      The field for the index record component.
    • field_41293

      private static final DateTimeFormatter field_41293
      Mappings:
      Namespace Name Mixin selector
      official c Layn$c;c:Ljava/time/format/DateTimeFormatter;
      intermediary field_41293 Lnet/minecraft/class_7929$class_7932;field_41293:Ljava/time/format/DateTimeFormatter;
      named field_41293 Lnet/minecraft/class_7929$class_7932;field_41293:Ljava/time/format/DateTimeFormatter;
  • Constructor Details

    • class_7932

      public class_7932(LocalDate localDate, int int2)
  • Method Details

    • method_47558

      @Nullable public static @Nullable class_7929.class_7932 method_47558(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Layn$c;a(Ljava/lang/String;)Layn$c;
      intermediary method_47558 Lnet/minecraft/class_7929$class_7932;method_47558(Ljava/lang/String;)Lnet/minecraft/class_7929$class_7932;
      named method_47558 Lnet/minecraft/class_7929$class_7932;method_47558(Ljava/lang/String;)Lnet/minecraft/class_7929$class_7932;
    • toString

      public 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
    • method_47559

      public String method_47559(String string)
      Mappings:
      Namespace Name Mixin selector
      official b Layn$c;b(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_47559 Lnet/minecraft/class_7929$class_7932;method_47559(Ljava/lang/String;)Ljava/lang/String;
      named method_47559 Lnet/minecraft/class_7929$class_7932;method_47559(Ljava/lang/String;)Ljava/lang/String;
    • 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.
    • date

      public LocalDate date()
      Returns the value of the date record component.
      Returns:
      the value of the date record component
    • index

      public int index()
      Returns the value of the index record component.
      Returns:
      the value of the index record component