Interface ClimatePoint
- All Superinterfaces:
Wrapper
Wraps Minecraft's BiomeClimatePoint.
- Since:
- 2.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder for a climate point.static interfaceNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ClimatePoint.Builderbuilder()Creates a builder for a climate point.The continentalness axis span.depth()The depth axis span.erosion()The erosion axis span.humidity()The humidity axis span.static ClimatePointof(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) Creates a climate point pinned to a single value on every axis.static ClimatePointof(ClimateParameter temperature, ClimateParameter humidity, ClimateParameter continentalness, ClimateParameter erosion, ClimateParameter depth, ClimateParameter weirdness, float offset) Creates a climate point with the given parameters.floatoffset()The constant fitness offset between 0.0 and 1.0.static ClimatePointspanAll(float offset) Creates a climate point that spans the full range on every axis.The temperature axis span.default ClimatePoint.BuilderCreates a new builder with the same values as this point.The weirdness axis span.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
WIRE
-
-
Method Details
-
temperature
The temperature axis span.- Returns:
- the temperature parameter
- Since:
- 2.3.0
-
humidity
The humidity axis span.- Returns:
- the humidity parameter
- Since:
- 2.3.0
-
continentalness
The continentalness axis span.- Returns:
- the continentalness parameter
- Since:
- 2.3.0
-
erosion
The erosion axis span.- Returns:
- the erosion parameter
- Since:
- 2.3.0
-
depth
The depth axis span.- Returns:
- the depth parameter
- Since:
- 2.3.0
-
weirdness
The weirdness axis span.- Returns:
- the weirdness parameter
- Since:
- 2.3.0
-
offset
The constant fitness offset between 0.0 and 1.0.- Returns:
- the offset
- Since:
- 2.3.0
-
toBuilder
Creates a new builder with the same values as this point.- Returns:
- a new builder with the same values as this point
- Since:
- 2.4.1
-
builder
Creates a builder for a climate point. Unset axes span the full range.- Returns:
- a new builder
- Since:
- 2.3.0
-
of
@AsOf("2.4.1") static ClimatePoint of(ClimateParameter temperature, ClimateParameter humidity, ClimateParameter continentalness, ClimateParameter erosion, ClimateParameter depth, ClimateParameter weirdness, float offset) Creates a climate point with the given parameters.- Parameters:
temperature- the temperature parameterhumidity- the humidity parametercontinentalness- the continentalness parametererosion- the erosion parameterdepth- the depth parameterweirdness- the weirdness parameteroffset- the fitness offset- Returns:
- a new climate point
- Since:
- 2.4.1
-
of
@AsOf("2.3.0") static ClimatePoint of(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) Creates a climate point pinned to a single value on every axis.- Parameters:
temperature- the temperature valuehumidity- the humidity valuecontinentalness- the continentalness valueerosion- the erosion valuedepth- the depth valueweirdness- the weirdness valueoffset- the fitness offset- Returns:
- a new climate point
- Since:
- 2.3.0
-
spanAll
Creates a climate point that spans the full range on every axis.- Parameters:
offset- the fitness offset- Returns:
- a new climate point
- Since:
- 2.4.1
-