Class LayerConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.LayerConfiguration.Builder
Enclosing interface:
LayerConfiguration

@AsOf("3.0.0") public static final class LayerConfiguration.Builder extends Object
Builder for LayerConfiguration.
Since:
3.0.0
  • Constructor Details

  • Method Details

    • height

      @AsOf("3.0.0") public LayerConfiguration.Builder height(int height)
      Sets the height of the layer.
      Parameters:
      height - the height of the layer
      Returns:
      this builder
      Since:
      3.0.0
    • state

      @AsOf("3.0.0") public LayerConfiguration.Builder state(BlockData state)
      Sets the block to fill the layer with.
      Parameters:
      state - the block to fill the layer with
      Returns:
      this builder
      Since:
      3.0.0
    • state

      @AsOf("3.0.0") public LayerConfiguration.Builder state(Material material)
      Sets the block to fill the layer with.
      Parameters:
      material - the block to fill the layer with
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public LayerConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0