Class UniformFloat
java.lang.Object
net.minecraft.util.valueproviders.FloatProvider
net.minecraft.util.valueproviders.UniformFloat
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<UniformFloat>
private float
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getType()
static UniformFloat
of(float p_146606_, float p_146607_)
float
toString()
Methods inherited from class net.minecraft.util.valueproviders.FloatProvider
codec
-
Field Details
-
CODEC
-
minInclusive
private final float minInclusive -
maxExclusive
private final float maxExclusive
-
-
Constructor Details
-
UniformFloat
private UniformFloat(float p_146595_, float p_146596_)
-
-
Method Details
-
of
-
sample
- Specified by:
sample
in classFloatProvider
-
getMinValue
public float getMinValue()- Specified by:
getMinValue
in classFloatProvider
-
getMaxValue
public float getMaxValue()- Specified by:
getMaxValue
in classFloatProvider
-
getType
- Specified by:
getType
in classFloatProvider
-
toString
-