Class ConstantFloat
java.lang.Object
net.minecraft.util.valueproviders.FloatProvider
net.minecraft.util.valueproviders.ConstantFloat
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ConstantFloat>private floatstatic ConstantFloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatgetType()floatgetValue()static ConstantFloatof(float p_146459_)floattoString()Methods inherited from class net.minecraft.util.valueproviders.FloatProvider
codec
-
Field Details
-
ZERO
-
CODEC
-
value
private final float value
-
-
Constructor Details
-
ConstantFloat
private ConstantFloat(float p_146456_)
-
-
Method Details
-
of
-
getValue
public float getValue() -
sample
- Specified by:
samplein classFloatProvider
-
getMinValue
public float getMinValue()- Specified by:
getMinValuein classFloatProvider
-
getMaxValue
public float getMaxValue()- Specified by:
getMaxValuein classFloatProvider
-
getType
- Specified by:
getTypein classFloatProvider
-
toString
-