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.
  • Method Details

    • builder

      static FlatGeneratorConfig.Builder builder()
    • layers

      List<LayerConfig> layers()
      Returns the list of layers from top to bottom. TODO check
      Returns:
      The list of layers
    • layer

      Optional<LayerConfig> layer(int index)
      Returns the layer at given index
      Parameters:
      index - The index
      Returns:
      The layer
    • 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 of StructureSet to use.

      If empty all structure sets are used.

      Returns:
      The list of structure sets