net.minecraft.util.math

public interface Interpolator<T>

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

Field summary

Modifier and TypeField
Interpolator<?>
CONSTANT
field_1_7071
field_1_7071

Method summary

Modifier and TypeMethod
static Interpolator<Float>
ofFloat()
method_75706()
ofFloat()
static Interpolator<Integer>
ofInteger()
method_1_2943()
ofInt()
static Interpolator<Float>
ofDegrees(float maxDelta)
method_76426(float arg0)
angle(float maxDeviation)
static <T> Interpolator<T>
ofConstant()
method_76429()
first()
static <T> Interpolator<T>
ofStep(float threshold)
method_75707(float arg0)
threshold(float threshold)
static Interpolator<Integer>
ofColor()
method_75709()
ofColor()
T
apply(float alpha, T from, T to)
method_1_103(float arg0, T arg1, T arg2)
apply(float t, T a, T b)
private static Object
lambda$ofStep$0(float arg0, float arg1, Object arg2, Object arg3)
method_75708(float arg0, float arg1, Object arg2, Object arg3)
method_75708(float arg0, float t, Object a, Object b)
private static Float
lambda$ofDegrees$0(float arg0, float arg1, Float arg2, Float arg3)
method_76427(float arg0, float arg1, Float arg2, Float arg3)
method_76427(float arg0, float t, Float a, Float b)