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
-
Method Summary
Modifier and TypeMethodDescriptionbiome()
Returns the biomestatic FlatGeneratorConfig.Builder
builder()
layer
(int index) Returns the layer at given indexlayers()
Returns the list of layers from top to bottom.boolean
Whether to place decorations.boolean
Whether to populate lakes.The list ofStructureSet
to 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 ofStructureSet
to use.If empty all structure sets are used.
- Returns:
- The list of structure sets
-