net.minecraft.util.valueproviders

public class ConstantFloat

extends FloatProvider

All mapped superinterfaces:

SampledFloat

bcy
net.minecraft.util.valueproviders.ConstantFloat
net.minecraft.class_5862
net.minecraft.util.math.floatprovider.ConstantFloatProvider
net.minecraft.src.C_141048_
net.minecraft.util.valueproviders.ConstantFloat

Field summary

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

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)
m_146458_(float p_146459_)
public float
d()
getValue()
method_33914()
getValue()
m_146474_()
public float
a(apf arg0)
sample(RandomSource arg0)
method_33920(class_5819 arg0)
get(Random arg0)
m_214084_(C_212974_ arg0)
public float
a()
getMinValue()
method_33915()
getMin()
m_142735_()
public float
b()
getMaxValue()
method_33921()
getMax()
m_142734_()
public FloatProviderType<?>
c()
getType()
method_33923()
getType()
m_141961_()