net.minecraft.util.valueproviders

public abstract class FloatProvider

implements SampledFloat

bgb
net.minecraft.util.valueproviders.FloatProvider
net.minecraft.class_5863
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.src.C_141050_
net.minecraft.util.valueproviders.FloatProvider

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Float, FloatProvider>>
a
CONSTANT_OR_DISPATCH_CODEC
field_29006
FLOAT_CODEC
f_146501_
public static final com.mojang.serialization.Codec<FloatProvider>
c
CODEC
field_29007
VALUE_CODEC
f_146502_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<FloatProvider>
a(float arg0, float arg1)
codec(float arg0, float arg1)
method_33916(float arg0, float arg1)
createValidatedCodec(float min, float max)
m_146505_(float p_146506_, float p_146507_)
public abstract float
a()
getMinValue()
method_33915()
getMin()
m_142735_()
public abstract float
b()
getMaxValue()
method_33921()
getMax()
m_142734_()
public abstract FloatProviderType<?>
c()
getType()
method_33923()
getType()
m_141961_()