Interface CanyonWorldCarver
- All Superinterfaces:
CarverConfiguration, Wrapper
A direct Minecraft canyon world carver.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forCanyonWorldCarver.static interfaceThe settings used to shape aCanyonWorldCarver. -
Method Summary
Modifier and TypeMethodDescriptionstatic CanyonWorldCarver.Builderbuilder()Creates a new canyon world carver builder.static CanyonWorldCarverof(float probability, HeightProvider y, FloatProvider verticalRotation, CanyonWorldCarver.Shape shape) Creates a canyon world carver.shape()The settings used to shape the canyon.default CanyonWorldCarver.BuilderConverts this canyon carver back to a builder.The vertical rotation applied to the canyon.Methods inherited from interface CarverConfiguration
probability, yMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
verticalRotation
The vertical rotation applied to the canyon.- Returns:
- the canyon's vertical rotation
- Since:
- 4.0.0
-
shape
The settings used to shape the canyon.- Returns:
- the canyon shape
- Since:
- 4.0.0
-
toBuilder
Converts this canyon carver back to a builder.- Returns:
- a builder containing this carver's values
- Since:
- 4.0.0
-
of
@AsOf("4.0.0") static CanyonWorldCarver of(float probability, HeightProvider y, FloatProvider verticalRotation, CanyonWorldCarver.Shape shape) Creates a canyon world carver.- Parameters:
probability- the probability that the carver starts in an eligible chunky- the provider used to select the starting y-coordinateverticalRotation- the vertical rotation applied to the canyonshape- the settings used to shape the canyon- Returns:
- a new canyon world carver
- Since:
- 4.0.0
-
builder
Creates a new canyon world carver builder.- Returns:
- a new builder
- Since:
- 4.0.0
-