Interface CaveCarverConfiguration
- All Superinterfaces:
CarverConfiguration, FeatureConfiguration, ProbabilityFeatureConfiguration, Wrapper
Configuration for cave carvers.
- Since:
- 2.3.0
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.The floor level of the cave.The horizontal radius multiplier.static CaveCarverConfigurationof(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) Creates a new CaveCarverConfiguration.default CaveCarverConfiguration.BuilderConverts this object back to a builder.The vertical radius multiplier.Methods inherited from interface CarverConfiguration
debugSettings, lavaLevel, replaceable, y, yScaleMethods inherited from interface ProbabilityFeatureConfiguration
probabilityMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
horizontalRadiusMultiplier
The horizontal radius multiplier.- Returns:
- the horizontal radius multiplier
- Since:
- 2.3.0
-
verticalRadiusMultiplier
The vertical radius multiplier.- Returns:
- the vertical radius multiplier
- Since:
- 2.3.0
-
floorLevel
The floor level of the cave.- Returns:
- the floor level of the cave
- 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 CaveCarverConfiguration of(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) Creates a new CaveCarverConfiguration.- 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 carverhorizontalRadiusMultiplier- the horizontal radius multiplierverticalRadiusMultiplier- the vertical radius multiplierfloorLevel- the floor level of the cave- Returns:
- a new CaveCarverConfiguration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 2.3.0
-