Class FillLayerFeature.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(FillLayerFeature configuration)
  • Method Details

    • height

      @AsOf("3.0.0") public FillLayerFeature.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 FillLayerFeature.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 FillLayerFeature.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 FillLayerFeature build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0