Package net.minecraft
Record Class class_12306<T>
java.lang.Object
java.lang.Record
net.minecraft.class_12306<T>
- Record Components:
keyframes-easingType-
- Mappings:
Namespace Name named net/minecraft/class_12306intermediary net/minecraft/class_12306official bgbnamed keyframesintermediary comp_5204official anamed easingTypeintermediary comp_5205official b
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_12301The field for theeasingTyperecord component.private final List<class_12305<T>> The field for thekeyframesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_12306(List<class_12305<T>> keyframes, class_12301 easingType) Creates an instance of aclass_12306record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeasingTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<class_12305<T>> Returns the value of thekeyframesrecord component.static com.mojang.serialization.DataResult<class_12306<?>> method_76376(class_12306<?> class_12306, int int2) static <T> com.mojang.serialization.MapCodec<class_12306<T>> method_76377(com.mojang.serialization.Codec<T> codec) (package private) static <T> com.mojang.serialization.DataResult<List<class_12305<T>>> method_76379(List<class_12305<T>> list) method_76380(Optional<Integer> optional, Interpolator<T> interpolator) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
keyframes
The field for thekeyframesrecord component. -
easingType
The field for theeasingTyperecord component.
-
-
Constructor Details
-
class_12306
Creates an instance of aclass_12306record class.- Parameters:
keyframes- the value for thekeyframesrecord componenteasingType- the value for theeasingTyperecord 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_76377Lnet/minecraft/class_12306;method_76377(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/MapCodec;intermediary method_76377Lnet/minecraft/class_12306;method_76377(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/MapCodec;official aLbgb;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_76379Lnet/minecraft/class_12306;method_76379(Ljava/util/List;)Lcom/mojang/serialization/DataResult;intermediary method_76379Lnet/minecraft/class_12306;method_76379(Ljava/util/List;)Lcom/mojang/serialization/DataResult;official aLbgb;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_76376Lnet/minecraft/class_12306;method_76376(Lnet/minecraft/class_12306;I)Lcom/mojang/serialization/DataResult;intermediary method_76376Lnet/minecraft/class_12306;method_76376(Lnet/minecraft/class_12306;I)Lcom/mojang/serialization/DataResult;official aLbgb;a(Lbgb;I)Lcom/mojang/serialization/DataResult;
-
method_76380
- Mappings:
Namespace Name Mixin selector named method_76380Lnet/minecraft/class_12306;method_76380(Ljava/util/Optional;Lnet/minecraft/util/math/Interpolator;)Lnet/minecraft/class_12308;intermediary method_76380Lnet/minecraft/class_12306;method_76380(Ljava/util/Optional;Lnet/minecraft/class_12210;)Lnet/minecraft/class_12308;official aLbgb;a(Ljava/util/Optional;Lceg;)Lbgc;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
keyframes
Returns the value of thekeyframesrecord component.- Returns:
- the value of the
keyframesrecord component
-
easingType
Returns the value of theeasingTyperecord component.- Returns:
- the value of the
easingTyperecord component
-