Interface ClimateParameter
- All Superinterfaces:
Wrapper
A single climate axis span, wrapping
Climate.Parameter.- Since:
- 2.3.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final WireProvider<ClimateParameter.Factory> -
Method Summary
Modifier and TypeMethodDescriptionstatic ClimateParameterall()A span between -2.0 and 2.0.floatmax()The minimum and maximum values of this parameter between -2.0 and 2.0.floatmin()The minimum and maximum values of this parameter between -2.0 and 2.0.static ClimateParameterpoint(float value) A zero width span pinned to one value.static ClimateParameterspan(float min, float max) A span between two values.static ClimateParameterzero()A zero width span pinned to zero.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
MAX_BOUNDARY
static final float MAX_BOUNDARY- See Also:
-
MIN_BOUNDARY
static final float MIN_BOUNDARY- See Also:
-
WIRE
-
-
Method Details
-
min
The minimum and maximum values of this parameter between -2.0 and 2.0.- Returns:
- the minimum and maximum values of this parameter
- Since:
- 2.3.0
-
max
The minimum and maximum values of this parameter between -2.0 and 2.0.- Returns:
- the minimum and maximum values of this parameter
- Since:
- 2.3.0
-
point
A zero width span pinned to one value.- Parameters:
value- the value to pin to- Returns:
- a ClimateParameter pinned to the given value
- Since:
- 2.3.0
-
span
A span between two values.- Parameters:
min- the minimum valuemax- the maximum value- Returns:
- a ClimateParameter between the given values
- Since:
- 2.3.0
-
zero
A zero width span pinned to zero.- Returns:
- a ClimateParameter pinned to zero
- Since:
- 2.4.1
-
all
A span between -2.0 and 2.0.- Returns:
- a ClimateParameter between -2.0 and 2.0
- Since:
- 2.4.1
-