Package net.minecraft

Record Class class_10665.class_10670

java.lang.Object
java.lang.Record
net.minecraft.class_10665.class_10670
Record Components:
time -
All Implemented Interfaces:
class_10665
Enclosing interface:
class_10665

public static record class_10665.class_10670(int time) extends Record implements class_10665
Mappings:
Namespace Name
named net/minecraft/class_10665$class_10670
intermediary net/minecraft/class_10665$class_10670
official tj$d
named time
intermediary comp_3556
official d
  • Field Details

    • time

      private final int time
      The field for the time record component.
    • field_56206

      public static final com.mojang.serialization.MapCodec<class_10665.class_10670> field_56206
      Mappings:
      Namespace Name Mixin selector
      named field_56206 Lnet/minecraft/class_10665$class_10670;field_56206:Lcom/mojang/serialization/MapCodec;
      intermediary field_56206 Lnet/minecraft/class_10665$class_10670;field_56206:Lcom/mojang/serialization/MapCodec;
      official c Ltj$d;c:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • class_10670

      public class_10670(int int2)
  • Method Details

    • method_67051

      public void method_67051(ServerWorld serverWorld)
      Specified by:
      method_67051 in interface class_10665
      Mappings:
      Namespace Name Mixin selector
      named method_67051 Lnet/minecraft/class_10665;method_67051(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_67051 Lnet/minecraft/class_10665;method_67051(Lnet/minecraft/class_3218;)V
      official a Ltj;a(Larn;)V
    • method_67050

      public com.mojang.serialization.MapCodec<class_10665.class_10670> method_67050()
      Specified by:
      method_67050 in interface class_10665
      Mappings:
      Namespace Name Mixin selector
      named method_67050 Lnet/minecraft/class_10665;method_67050()Lcom/mojang/serialization/MapCodec;
      intermediary method_67050 Lnet/minecraft/class_10665;method_67050()Lcom/mojang/serialization/MapCodec;
      official a Ltj;a()Lcom/mojang/serialization/MapCodec;
    • 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 '=='.
      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.
    • time

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