Class LargeDripstoneConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.LargeDripstoneConfiguration.Builder
- Enclosing interface:
LargeDripstoneConfiguration
Builder for
LargeDripstoneConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.columnRadius(IntProvider columnRadius) Sets the column radius.floorToCeilingSearchRange(int floorToCeilingSearchRange) Sets the search range from floor to ceiling.heightScale(FloatProvider heightScale) Sets the height scale.maxColumnRadiusToCaveHeightRatio(float maxColumnRadiusToCaveHeightRatio) Sets the max column radius to cave height ratio.minBluntnessForWind(float minBluntnessForWind) Sets the min bluntness to be used for the wind.minRadiusForWind(int minRadiusForWind) Sets the min column radius to be used for the wind.replaceableBlock(Material... replaceableBlocks) Adds a replaceable block.replaceableBlocks(Set<Material> replaceableBlocks) Sets the replaceable blocks.stalactiteBluntness(FloatProvider stalactiteBluntness) Sets the stalactite bluntness.stalagmiteBluntness(FloatProvider stalagmiteBluntness) Sets the stalagmite bluntness.windSpeed(FloatProvider windSpeed) Sets the wind speed.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
replaceableBlocks
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder replaceableBlocks(Set<Material> replaceableBlocks) Sets the replaceable blocks.- Parameters:
replaceableBlocks- the replaceable blocks- Returns:
- this builder
- Since:
- 3.0.0
-
floorToCeilingSearchRange
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder floorToCeilingSearchRange(int floorToCeilingSearchRange) Sets the search range from floor to ceiling.- Parameters:
floorToCeilingSearchRange- the search range- Returns:
- this builder
- Since:
- 3.0.0
-
columnRadius
Sets the column radius.- Parameters:
columnRadius- the column radius- Returns:
- this builder
- Since:
- 3.0.0
-
heightScale
Sets the height scale.- Parameters:
heightScale- the height scale- Returns:
- this builder
- Since:
- 3.0.0
-
maxColumnRadiusToCaveHeightRatio
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder maxColumnRadiusToCaveHeightRatio(float maxColumnRadiusToCaveHeightRatio) Sets the max column radius to cave height ratio.- Parameters:
maxColumnRadiusToCaveHeightRatio- the max column radius to cave height ratio- Returns:
- this builder
- Since:
- 3.0.0
-
stalactiteBluntness
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder stalactiteBluntness(FloatProvider stalactiteBluntness) Sets the stalactite bluntness.- Parameters:
stalactiteBluntness- the stalactite bluntness- Returns:
- this builder
- Since:
- 3.0.0
-
stalagmiteBluntness
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder stalagmiteBluntness(FloatProvider stalagmiteBluntness) Sets the stalagmite bluntness.- Parameters:
stalagmiteBluntness- the stalagmite bluntness- Returns:
- this builder
- Since:
- 3.0.0
-
windSpeed
Sets the wind speed.- Parameters:
windSpeed- the wind speed- Returns:
- this builder
- Since:
- 3.0.0
-
minRadiusForWind
Sets the min column radius to be used for the wind.- Parameters:
minRadiusForWind- the min column radius to be used for the wind- Returns:
- this builder
- Since:
- 3.0.0
-
minBluntnessForWind
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder minBluntnessForWind(float minBluntnessForWind) Sets the min bluntness to be used for the wind.- Parameters:
minBluntnessForWind- the min bluntness to be used for the wind- Returns:
- this builder
- Since:
- 3.0.0
-
replaceableBlock
@AsOf("3.0.0") public LargeDripstoneConfiguration.Builder replaceableBlock(Material... replaceableBlocks) Adds a replaceable block.- Parameters:
replaceableBlocks- the replaceable blocks- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-