Uses of Interface
net.minecraft.util.math.Interpolator
Packages that use Interpolator
Package
Description
-
Uses of Interpolator in net.minecraft.util.math
Methods in net.minecraft.util.math that return InterpolatorModifier and TypeMethodDescriptionstatic Interpolator<Float> Interpolator.angle(float maxDeviation) static <T> Interpolator<T> Interpolator.first()static Interpolator<Integer> Interpolator.ofColor()static Interpolator<Float> Interpolator.ofFloat()static <T> Interpolator<T> Interpolator.threshold(float threshold) -
Uses of Interpolator in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as InterpolatorModifier and TypeFieldDescriptionprivate final Interpolator<Value> EnvironmentAttributeType.keyframeLerpThe field for thekeyframeLerprecord component.private final Interpolator<Value> EnvironmentAttributeType.partialTickLerpThe field for thepartialTickLerprecord component.private final Interpolator<Value> EnvironmentAttributeType.spatialLerpThe field for thespatialLerprecord component.private final Interpolator<Value> EnvironmentAttributeType.stateChangeLerpThe field for thestateChangeLerprecord component.Methods in net.minecraft.world.attribute that return InterpolatorModifier and TypeMethodDescriptionBooleanModifier.argumentKeyframeLerp(EnvironmentAttribute<Boolean> environmentAttribute) default Interpolator<Integer> ColorModifier.Argb.argumentKeyframeLerp(EnvironmentAttribute<Integer> environmentAttribute) default Interpolator<Integer> ColorModifier.Rgb.argumentKeyframeLerp(EnvironmentAttribute<Integer> environmentAttribute) EnvironmentAttributeModifier.argumentKeyframeLerp(EnvironmentAttribute<Subject> environmentAttribute) EnvironmentAttributeModifier.OverrideModifier.argumentKeyframeLerp(EnvironmentAttribute<Value> environmentAttribute) default Interpolator<Float> FloatModifier.Binary.argumentKeyframeLerp(EnvironmentAttribute<Float> environmentAttribute) EnvironmentAttributeType.keyframeLerp()Returns the value of thekeyframeLerprecord component.EnvironmentAttributeType.partialTickLerp()Returns the value of thepartialTickLerprecord component.EnvironmentAttributeType.spatialLerp()Returns the value of thespatialLerprecord component.EnvironmentAttributeType.stateChangeLerp()Returns the value of thestateChangeLerprecord component.Methods in net.minecraft.world.attribute with parameters of type InterpolatorModifier and TypeMethodDescriptionstatic <Value> EnvironmentAttributeType<Value> EnvironmentAttributeType.interpolated(com.mojang.serialization.Codec<Value> valueCodec, Map<EnvironmentAttributeModifier.Type, EnvironmentAttributeModifier<Value, ?>> modifierLibrary, Interpolator<Value> lerp) static <Value> EnvironmentAttributeType<Value> EnvironmentAttributeType.interpolated(com.mojang.serialization.Codec<Value> valueCodec, Map<EnvironmentAttributeModifier.Type, EnvironmentAttributeModifier<Value, ?>> modifierLibrary, Interpolator<Value> spatialLerp, Interpolator<Value> partialTickLerp) Constructors in net.minecraft.world.attribute with parameters of type InterpolatorModifierConstructorDescriptionEnvironmentAttributeType(com.mojang.serialization.Codec<Value> valueCodec, Map<EnvironmentAttributeModifier.Type, EnvironmentAttributeModifier<Value, ?>> modifierLibrary, com.mojang.serialization.Codec<EnvironmentAttributeModifier<Value, ?>> modifierCodec, Interpolator<Value> keyframeLerp, Interpolator<Value> stateChangeLerp, Interpolator<Value> spatialLerp, Interpolator<Value> partialTickLerp) Creates an instance of aEnvironmentAttributeTyperecord class. -
Uses of Interpolator in net.minecraft.world.attribute.timeline
Fields in net.minecraft.world.attribute.timeline declared as InterpolatorMethods in net.minecraft.world.attribute.timeline with parameters of type InterpolatorModifier and TypeMethodDescriptionTrack.createEvaluator(Optional<Integer> period, Interpolator<T> interpolator) Constructors in net.minecraft.world.attribute.timeline with parameters of type InterpolatorModifierConstructorDescriptionTrackAttributeModification(Optional<Integer> period, EnvironmentAttributeModifier<Value, Argument> modifiers, Track<Argument> track, Interpolator<Argument> interpolator, LongSupplier timeSupplier) (package private)TrackEvaluator(Track<T> track, Optional<Integer> period, Interpolator<T> interpolator)