Package net.fabricmc.fabric.api.biome.v1
Interface BiomeModificationContext.GenerationSettingsContext
- Enclosing interface:
BiomeModificationContext
public static interface BiomeModificationContext.GenerationSettingsContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCarver
(GenerationStep.Carver step, RegistryKey<ConfiguredCarver<?>> carverKey) Adds a configured carver to one of this biomes generation steps.void
addFeature
(GenerationStep.Feature step, RegistryKey<PlacedFeature> placedFeatureKey) Adds a feature to one of this biomes generation steps, identified by the placed feature's registry key.default boolean
removeCarver
(RegistryKey<ConfiguredCarver<?>> configuredCarverKey) Removes all carvers with the given key from all of this biomes generation steps.boolean
removeCarver
(GenerationStep.Carver step, RegistryKey<ConfiguredCarver<?>> configuredCarverKey) Removes all carvers with the given key from one of this biomes generation steps.default boolean
removeFeature
(RegistryKey<PlacedFeature> placedFeatureKey) Removes a feature from all of this biomes generation steps, and returns if any features were removed.boolean
removeFeature
(GenerationStep.Feature step, RegistryKey<PlacedFeature> placedFeatureKey) Removes a feature from one of this biomes generation steps, and returns if any features were removed.
-
Method Details
-
removeFeature
Removes a feature from one of this biomes generation steps, and returns if any features were removed. -
removeFeature
Removes a feature from all of this biomes generation steps, and returns if any features were removed. -
addFeature
Adds a feature to one of this biomes generation steps, identified by the placed feature's registry key. -
addCarver
Adds a configured carver to one of this biomes generation steps. -
removeCarver
boolean removeCarver(GenerationStep.Carver step, RegistryKey<ConfiguredCarver<?>> configuredCarverKey) Removes all carvers with the given key from one of this biomes generation steps.- Returns:
- True if any carvers were removed.
-
removeCarver
Removes all carvers with the given key from all of this biomes generation steps.- Returns:
- True if any carvers were removed.
-