Class NumberEstimate.Range
java.lang.Object
petrolpark.mc.library.core.data.numberProvider.NumberEstimate
petrolpark.mc.library.core.data.numberProvider.NumberEstimate.Range
- Enclosing class:
NumberEstimate
-
Nested Class Summary
Nested classes/interfaces inherited from class petrolpark.mc.library.core.data.numberProvider.NumberEstimate
NumberEstimate.Exact, NumberEstimate.Range, NumberEstimate.Unknown -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(float value) add(NumberEstimate estimate) exp()net.minecraft.network.chat.Componentfloatmax()floatmin()multiply(float value) multiply(NumberEstimate estimate) negative()or(NumberEstimate estimate) pow(float exponent) protected Neither<NumberEstimate.Exact, NumberEstimate.Range> wrap()Methods inherited from class petrolpark.mc.library.core.data.numberProvider.NumberEstimate
approximate, approximately, divide, exactly, fieldCodec, get, getBinomial, getIntComponent, getMax, getMax, ranged, ranged, ranged, ranged, subtract, unknown
-
Field Details
-
min
public final float min -
max
public final float max
-
-
Constructor Details
-
Range
public Range(float min, float max, boolean approximate)
-
-
Method Details
-
getComponent
- Specified by:
getComponentin classNumberEstimate
-
min
public float min()- Specified by:
minin classNumberEstimate
-
max
public float max()- Specified by:
maxin classNumberEstimate
-
add
- Specified by:
addin classNumberEstimate
-
add
- Specified by:
addin classNumberEstimate
-
multiply
- Specified by:
multiplyin classNumberEstimate
-
multiply
- Specified by:
multiplyin classNumberEstimate
-
reciprocal
- Specified by:
reciprocalin classNumberEstimate
-
negative
- Specified by:
negativein classNumberEstimate
-
pow
- Specified by:
powin classNumberEstimate
-
exp
- Specified by:
expin classNumberEstimate
-
or
- Specified by:
orin classNumberEstimate
-
streamPossibleInts
- Specified by:
streamPossibleIntsin classNumberEstimate
-
wrap
- Specified by:
wrapin classNumberEstimate
-