GenerationSettingsContext

public interface GenerationSettingsContext

Functions

addBuiltInCarver
Link copied to clipboard
void addBuiltInCarver(GenerationStep.Carver step, ConfiguredCarver<? extends Object> configuredCarver)
Adds a configured carver from CONFIGURED_CARVER to this biome.
addBuiltInFeature
Link copied to clipboard
void addBuiltInFeature(GenerationStep.Feature step, ConfiguredFeature<? extends Object, ? extends Object> configuredFeature)
Adds a configured feature from CONFIGURED_FEATURE to this biome.
addBuiltInStructure
Link copied to clipboard
void addBuiltInStructure(ConfiguredStructureFeature<? extends Object, ? extends Object> configuredStructure)
Allows a configured structure from CONFIGURED_STRUCTURE_FEATURE to start in this biome.
addCarver
Link copied to clipboard
abstract void addCarver(GenerationStep.Carver step, RegistryKey<ConfiguredCarver<? extends Object>> carverKey)
Adds a configured carver to one of this biomes generation steps.
addFeature
Link copied to clipboard
abstract void addFeature(GenerationStep.Feature step, RegistryKey<ConfiguredFeature<? extends Object, ? extends Object>> configuredFeatureKey)
Adds a feature to one of this biomes generation steps, identified by the configured feature's registry key.
addStructure
Link copied to clipboard
abstract void addStructure(RegistryKey<ConfiguredStructureFeature<? extends Object, ? extends Object>> configuredStructureKey)
Allows a configured structure to start in this biome.
removeBuiltInCarver
Link copied to clipboard
boolean removeBuiltInCarver(ConfiguredCarver<? extends Object> configuredCarver)
removeCarver for built-in carvers (see addBuiltInCarver).
boolean removeBuiltInCarver(GenerationStep.Carver step, ConfiguredCarver<? extends Object> configuredCarver)
removeCarver for built-in carvers (see addBuiltInCarver).
removeBuiltInFeature
Link copied to clipboard
boolean removeBuiltInFeature(ConfiguredFeature<? extends Object, ? extends Object> configuredFeature)
removeFeature for built-in features (see addBuiltInFeature).
boolean removeBuiltInFeature(GenerationStep.Feature step, ConfiguredFeature<? extends Object, ? extends Object> configuredFeature)
removeFeature for built-in features (see addBuiltInFeature).
removeBuiltInStructure
Link copied to clipboard
boolean removeBuiltInStructure(ConfiguredStructureFeature<? extends Object, ? extends Object> configuredStructure)
removeStructure for built-in structures (see addBuiltInStructure).
removeCarver
Link copied to clipboard
boolean removeCarver(RegistryKey<ConfiguredCarver<? extends Object>> configuredCarverKey)
Removes all carvers with the given key from all of this biomes generation steps.
abstract boolean removeCarver(GenerationStep.Carver step, RegistryKey<ConfiguredCarver<? extends Object>> configuredCarverKey)
Removes all carvers with the given key from one of this biomes generation steps.
removeFeature
Link copied to clipboard
boolean removeFeature(RegistryKey<ConfiguredFeature<? extends Object, ? extends Object>> configuredFeatureKey)
Removes a feature from all of this biomes generation steps, and returns if any features were removed.
abstract boolean removeFeature(GenerationStep.Feature step, RegistryKey<ConfiguredFeature<? extends Object, ? extends Object>> configuredFeatureKey)
Removes a feature from one of this biomes generation steps, and returns if any features were removed.
removeStructure
Link copied to clipboard
abstract boolean removeStructure(RegistryKey<ConfiguredStructureFeature<? extends Object, ? extends Object>> configuredStructureKey)
Removes a configured structure from the structures that are allowed to start in this biome.
abstract boolean removeStructure(StructureFeature<? extends Object> structure)
Removes a structure from the structures that are allowed to start in this biome.
setBuiltInSurfaceBuilder
Link copied to clipboard
void setBuiltInSurfaceBuilder(ConfiguredSurfaceBuilder<? extends Object> configuredSurfaceBuilder)
Sets the biomes surface builder to a surface builder registered in CONFIGURED_SURFACE_BUILDER.
setSurfaceBuilder
Link copied to clipboard
abstract void setSurfaceBuilder(RegistryKey<ConfiguredSurfaceBuilder<? extends Object>> surfaceBuilderKey)
Sets the biomes surface builder to the surface builder identified by the given key.

Sources

jvm source
Link copied to clipboard