Interface ConstantFloat
- All Superinterfaces:
Comparable<ValueProvider>, FloatProvider, ValueProvider, Wrapper
A constant float provider which always returns the same value.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface FloatProvider
FloatProvider.FloatProviderBuilder<T,S> -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ConstantFloatof(float value) A constant float provider.Methods inherited from interface FloatProvider
max, maxInclusive, min, minInclusiveMethods inherited from interface ValueProvider
compareToMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
of
A constant float provider.- Parameters:
value- the value to return- Returns:
- the constant float provider
- Since:
- 3.0.0
-