Uses of Interface
net.minecraft.util.math.Interpolator
Packages that use Interpolator
-
Uses of Interpolator in net.minecraft.util.math
Methods in net.minecraft.util.math that return InterpolatorModifier and TypeMethodDescriptionstatic 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.partialTickLerpThe field for thepartialTickLerprecord component.private final Interpolator<Value> EnvironmentAttributeType.spatialLerpThe field for thespatialLerprecord component.Methods in net.minecraft.world.attribute that return InterpolatorModifier and TypeMethodDescriptionEnvironmentAttributeType.partialTickLerp()Returns the value of thepartialTickLerprecord component.EnvironmentAttributeType.spatialLerp()Returns the value of thespatialLerprecord 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> spatialLerp, Interpolator<Value> partialTickLerp) Creates an instance of aEnvironmentAttributeTyperecord class.