net.minecraft.util.valueproviders

public class ConstantFloat

extends FloatProvider

All mapped superinterfaces:

SampledFloat

bsk
net.minecraft.util.valueproviders.ConstantFloat
net.minecraft.class_5862
net.minecraft.util.math.floatprovider.ConstantFloatProvider
net.minecraft.util.valueproviders.ConstantFloat

Field summary

Modifier and TypeField
public static final ConstantFloat
a
ZERO
field_29003
ZERO
public static final com.mojang.serialization.MapCodec<ConstantFloat>
b
CODEC
field_29004
CODEC
private final float
d
value
field_29005
value

Constructor summary

ModifierConstructor
private (float value)

Method summary

Modifier and TypeMethod
public static ConstantFloat
a(float arg0)
of(float arg0)
method_33908(float arg0)
create(float value)
public float
d()
getValue()
method_33914()
getValue()
public float
a(bam arg0)
sample(RandomSource arg0)
method_33920(class_5819 arg0)
get(Random arg0)
public float
a()
getMinValue()
method_33915()
getMin()
public float
b()
getMaxValue()
method_33921()
getMax()
public FloatProviderType<?>
c()
getType()
method_33923()
getType()