net.minecraft.util.valueproviders

public abstract class FloatProvider

implements SampledFloat

bsm
net.minecraft.util.valueproviders.FloatProvider
net.minecraft.class_5863
net.minecraft.util.math.floatprovider.FloatProvider
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
public static final com.mojang.serialization.Codec<FloatProvider>
c
CODEC
field_29007
VALUE_CODEC

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)
public abstract float
a()
getMinValue()
method_33915()
getMin()
public abstract float
b()
getMaxValue()
method_33921()
getMax()
public abstract FloatProviderType<?>
c()
getType()
method_33923()
getType()