Class BiomeGenerationSettings.Builder
java.lang.Object
dev.wyck.biome.BiomeGenerationSettings.Builder
- Enclosing interface:
BiomeGenerationSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the BiomeGenerationSettings.carver(ConfiguredWorldCarver carver) Adds a configured carver to this biome's generation.carver(CustomCarver<C> carver, C config) Adds a custom carver to this biome's generation.carvers(ConfiguredWorldCarver... carvers) Sets the carvers of this biome's generation.carvers(List<ConfiguredWorldCarver> carvers) Sets the carvers of this biome's generation.feature(Decoration step, PlacedFeature feature) Adds a placed feature to this biome's generation under the given step.features(Map<Decoration, List<PlacedFeature>> features) Sets the features of this biome's generation.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
carvers
Sets the carvers of this biome's generation.- Parameters:
carvers- the carvers of this biome's generation- Returns:
- this builder
- Since:
- 3.0.0
-
carvers
Sets the carvers of this biome's generation.- Parameters:
carvers- the carvers of this biome's generation- Returns:
- this builder
- Since:
- 3.0.0
-
features
@AsOf("3.0.0") public BiomeGenerationSettings.Builder features(Map<Decoration, List<PlacedFeature>> features) Sets the features of this biome's generation.- Parameters:
features- the features of this biome's generation- Returns:
- this builder
- Since:
- 3.0.0
-
carver
Adds a configured carver to this biome's generation.- Parameters:
carver- the configured carver to add- Returns:
- this builder
- Since:
- 2.3.0
-
carver
Adds a custom carver to this biome's generation.- Type Parameters:
C- the type of the configuration- Parameters:
carver- the custom carver to addconfig- the configuration of the carver- Returns:
- this builder
- Since:
- 3.0.0
-
feature
@AsOf("2.3.0") public BiomeGenerationSettings.Builder feature(Decoration step, PlacedFeature feature) Adds a placed feature to this biome's generation under the given step.- Parameters:
step- the generation step the feature is placed infeature- the placed feature to add- Returns:
- this builder
- Since:
- 2.3.0
-
build
Builds the BiomeGenerationSettings.- Returns:
- the BiomeGenerationSettings
- Since:
- 2.3.0
-