Interface CanyonCarverConfiguration
- All Superinterfaces:
CarverConfiguration, FeatureConfiguration, ProbabilityFeatureConfiguration, Wrapper
Configuration for the CanyonCarver.
- Since:
- 2.3.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forCanyonCarverConfiguration.static interfaceConfiguration for the shape of the canyon.Nested classes/interfaces inherited from interface CarverConfiguration
CarverConfiguration.CarverConfigurationBuilder<T,B> -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.static CanyonCarverConfigurationof(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider verticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration shape) Creates a new CanyonCarverConfiguration.shape()The shape of the canyon.Converts this object back to a builder.The vertical rotation of the canyon.Methods inherited from interface CarverConfiguration
debugSettings, lavaLevel, replaceable, y, yScaleMethods inherited from interface ProbabilityFeatureConfiguration
probabilityMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
verticalRotation
The vertical rotation of the canyon.- Returns:
- the vertical rotation of the canyon
- Since:
- 2.3.0
-
shape
The shape of the canyon.- Returns:
- the shape of the canyon
- Since:
- 2.3.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static CanyonCarverConfiguration of(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider verticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration shape) Creates a new CanyonCarverConfiguration.- Parameters:
probability- the probability of the carver spawningy- the height provideryScale- the scale of the height providerlavaLevel- the y-level of the lava level of the carverdebugSettings- the debug settings of the carverreplaceable- the materials that can be replaced by this carververticalRotation- the vertical rotation of the canyonshape- the shape of the canyon- Returns:
- a new CanyonCarverConfiguration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-