Class FloatRange.Constant
java.lang.Object
com.hypixel.hytale.procedurallib.supplier.FloatRange.Constant
- All Implemented Interfaces:
IFloatRange
- Enclosing class:
FloatRange
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatgetValue(float v) floatgetValue(int seed, double x, double y, double z, IDoubleCoordinateSupplier3d supplier) floatgetValue(int seed, double x, double y, IDoubleCoordinateSupplier2d supplier) floatgetValue(FloatSupplier supplier) floattoString()
-
Field Details
-
result
protected final float result
-
-
Constructor Details
-
Constant
public Constant(float result)
-
-
Method Details
-
getResult
public float getResult() -
getValue
public float getValue(float v) - Specified by:
getValuein interfaceIFloatRange
-
getValue
- Specified by:
getValuein interfaceIFloatRange
-
getValue
- Specified by:
getValuein interfaceIFloatRange
-
getValue
- Specified by:
getValuein interfaceIFloatRange
-
getValue
- Specified by:
getValuein interfaceIFloatRange
-
toString
-