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
FIRST

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()
static <T> Interpolator<List<T>>
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)
method_1_103(float arg0, T arg1, T arg2)
apply(float t, T a, T b)
private static List
lambda$ofListCrossFade$0(LerpFunction$AlphaScaler arg0, float arg1, List arg2, List arg3)
method_1_8583(class_12210$class_1_1309 arg0, float arg1, List arg2, List arg3)
method_1_8583(Interpolator$Scaler arg0, float t, List as, List bs)
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)