Package net.minecraft

Record Class class_12306<T>

java.lang.Object
java.lang.Record
net.minecraft.class_12306<T>
Record Components:
keyframes -
easingType -

public record class_12306<T>(List<class_12305<T>> keyframes, class_12301 easingType) extends Record
Mappings:
Namespace Name
named net/minecraft/class_12306
intermediary net/minecraft/class_12306
official bgb
named keyframes
intermediary comp_5204
official a
named easingType
intermediary comp_5205
official b
  • Field Details

  • Constructor Details

    • class_12306

      public class_12306(List<class_12305<T>> keyframes, class_12301 easingType)
      Creates an instance of a class_12306 record class.
      Parameters:
      keyframes - the value for the keyframes record component
      easingType - the value for the easingType record component
  • Method Details

    • method_76377

      public static <T> com.mojang.serialization.MapCodec<class_12306<T>> method_76377(com.mojang.serialization.Codec<T> codec)
      Mappings:
      Namespace Name Mixin selector
      named method_76377 Lnet/minecraft/class_12306;method_76377(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/MapCodec;
      intermediary method_76377 Lnet/minecraft/class_12306;method_76377(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/MapCodec;
      official a Lbgb;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/MapCodec;
    • method_76379

      static <T> com.mojang.serialization.DataResult<List<class_12305<T>>> method_76379(List<class_12305<T>> list)
      Mappings:
      Namespace Name Mixin selector
      named method_76379 Lnet/minecraft/class_12306;method_76379(Ljava/util/List;)Lcom/mojang/serialization/DataResult;
      intermediary method_76379 Lnet/minecraft/class_12306;method_76379(Ljava/util/List;)Lcom/mojang/serialization/DataResult;
      official a Lbgb;a(Ljava/util/List;)Lcom/mojang/serialization/DataResult;
    • method_76376

      public static com.mojang.serialization.DataResult<class_12306<?>> method_76376(class_12306<?> class_12306, int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_76376 Lnet/minecraft/class_12306;method_76376(Lnet/minecraft/class_12306;I)Lcom/mojang/serialization/DataResult;
      intermediary method_76376 Lnet/minecraft/class_12306;method_76376(Lnet/minecraft/class_12306;I)Lcom/mojang/serialization/DataResult;
      official a Lbgb;a(Lbgb;I)Lcom/mojang/serialization/DataResult;
    • method_76380

      public class_12308<T> method_76380(Optional<Integer> optional, Interpolator<T> interpolator)
      Mappings:
      Namespace Name Mixin selector
      named method_76380 Lnet/minecraft/class_12306;method_76380(Ljava/util/Optional;Lnet/minecraft/util/math/Interpolator;)Lnet/minecraft/class_12308;
      intermediary method_76380 Lnet/minecraft/class_12306;method_76380(Ljava/util/Optional;Lnet/minecraft/class_12210;)Lnet/minecraft/class_12308;
      official a Lbgb;a(Ljava/util/Optional;Lceg;)Lbgc;
    • 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.
    • keyframes

      public List<class_12305<T>> keyframes()
      Returns the value of the keyframes record component.
      Returns:
      the value of the keyframes record component
    • easingType

      public class_12301 easingType()
      Returns the value of the easingType record component.
      Returns:
      the value of the easingType record component