Class FloatRange.Normal
java.lang.Object
com.hypixel.hytale.procedurallib.supplier.FloatRange.Normal
- All Implemented Interfaces:
IFloatRange
- Enclosing class:
FloatRange
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetMin()floatgetRange()floatgetValue(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
-
min
protected final float min -
range
protected final float range
-
-
Constructor Details
-
Normal
public Normal(float min, float max)
-
-
Method Details
-
getMin
public float getMin() -
getRange
public float getRange() -
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
public float getValue(int seed, double x, double y, double z, @Nonnull IDoubleCoordinateSupplier3d supplier) - Specified by:
getValuein interfaceIFloatRange
-
toString
-