Interface FlatGeneratorConfig.Builder

All Superinterfaces:
AbstractBuilder<FlatGeneratorConfig>, Builder<FlatGeneratorConfig,FlatGeneratorConfig.Builder>, CopyableBuilder<FlatGeneratorConfig,FlatGeneratorConfig.Builder>, ResettableBuilder<FlatGeneratorConfig,FlatGeneratorConfig.Builder>
Enclosing interface:
FlatGeneratorConfig

  • Method Details

    • addLayer

      FlatGeneratorConfig.Builder addLayer(int index, LayerConfig config)
      Adds a layer at given index
      Parameters:
      index - The index
      config - The layer configuration
      Returns:
      This builder, for chaining
    • addLayer

      Adds a layer on top.
      Parameters:
      config - The layer configuration
      Returns:
      This builder, for chaining
    • addLayers

      Adds multiple layers.
      Parameters:
      layers - The layers
      Returns:
      This builder, for chaining
    • removeLayer

      FlatGeneratorConfig.Builder removeLayer(int index)
      Removes a layer at given index
      Parameters:
      index - The index
      Returns:
      This builder, for chaining
    • biome

      Sets the biome.
      Parameters:
      biome - The biome
      Returns:
      This builder, for chaining
    • performDecoration

      FlatGeneratorConfig.Builder performDecoration(boolean performDecoration)
      Sets whether to perform decorations
      Parameters:
      performDecoration - Whether to perform decorations
      Returns:
      This builder, for chaining
    • populateLakes

      FlatGeneratorConfig.Builder populateLakes(boolean populateLakes)
      Sets whether to populate lakes
      Parameters:
      populateLakes - Whether to populate lakes
      Returns:
      This builder, for chaining
    • structureSets

      FlatGeneratorConfig.Builder structureSets(@Nullable List<StructureSet> structureSets)
      Sets the structure sets. If null uses all structure sets instead.
      Parameters:
      structureSets - The structure sets
      Returns:
      This builder, for chaining