Interface FlatGeneratorConfig
- All Superinterfaces:
ChunkGeneratorConfig
@CatalogedBy(FlatGeneratorConfigs.class)
public interface FlatGeneratorConfig
extends ChunkGeneratorConfig
ChunkGeneratorConfig used by the vanilla flat worlds.
See FlatGeneratorConfigs for the vanilla provided presets.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the biomestatic FlatGeneratorConfig.Builderbuilder()layer(int index) Returns the layer at given indexlayers()Returns the list of layers from top to bottom.booleanWhether to place decorations.booleanWhether to populate lakes.The list ofStructureSetto use.
-
Method Details
-
builder
-
layers
List<LayerConfig> layers()Returns the list of layers from top to bottom. TODO check- Returns:
- The list of layers
-
layer
Returns the layer at given index- Parameters:
index- The index- Returns:
- The layer
-
biome
RegistryReference<Biome> biome()Returns the biome- Returns:
- The biome
-
performDecoration
boolean performDecoration()Whether to place decorations.- Returns:
- true if decorations are placed
-
populateLakes
boolean populateLakes()Whether to populate lakes.- Returns:
- true if lakes are populated
-
structureSets
Optional<List<StructureSet>> structureSets()The list ofStructureSetto use.If empty all structure sets are used.
- Returns:
- The list of structure sets
-