net.minecraft.util.math

public interface Interpolator<T>

net.minecraft.world.attribute.LerpFunction
net.minecraft.world.attribute.LerpFunction
net.minecraft.class_12210
net.minecraft.util.math.Interpolator

Field summary

Modifier and TypeField
Interpolator<?>
CONSTANT
CONSTANT
field_1_7071
FIRST

Method summary

Modifier and TypeMethod
static Interpolator<Float>
ofFloat()
ofFloat()
method_75706()
ofFloat()
static Interpolator<Integer>
ofInteger()
ofInteger()
method_1_2943()
ofInt()
static Interpolator<Float>
ofDegrees(float maxDelta)
ofDegrees(float maxDelta)
method_76426(float arg0)
angle(float maxDeviation)
static <T> Interpolator<T>
ofConstant()
ofConstant()
method_76429()
first()
static <T> Interpolator<T>
ofStep(float threshold)
ofStep(float threshold)
method_75707(float arg0)
threshold(float threshold)
static Interpolator<Integer>
ofColor()
ofColor()
method_75709()
ofColor()
static Interpolator<org.joml.Vector3fc>
ofColorVec3()
ofColorVec3()
method_1_9899()
ofColorVec3()
static Interpolator<org.joml.Vector4fc>
ofColorVec4()
ofColorVec4()
method_1_9900()
ofColorVec4()
static <T> Interpolator<List<T>>
ofListCrossFade(LerpFunction$AlphaScaler<T> scaler)
ofListCrossFade(LerpFunction$AlphaScaler<T> scaler)
method_1_8584(class_12210$class_1_1309<T> arg0)
mix(Interpolator$Scaler<T> scaler)
T
apply(float alpha, T from, T to)
apply(float alpha, T from, T to)
method_1_103(float arg0, T arg1, T arg2)
apply(float t, T a, T b)