Class DeltaFeature.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(DeltaFeature configuration)
  • Method Details

    • contents

      @AsOf("3.0.0") public DeltaFeature.Builder contents(BlockData contents)
      Sets the block to use on the inside of the delta.
      Parameters:
      contents - the contents block
      Returns:
      this builder
      Since:
      3.0.0
    • rim

      @AsOf("3.0.0") public DeltaFeature.Builder rim(BlockData rim)
      Sets the block to use for the rim of the delta.
      Parameters:
      rim - the rim block
      Returns:
      this builder
      Since:
      3.0.0
    • size

      @AsOf("3.0.0") public DeltaFeature.Builder size(IntProvider size)
      Sets the size of the inside of the delta.
      Parameters:
      size - the size
      Returns:
      this builder
      Since:
      3.0.0
    • rimSize

      @AsOf("3.0.0") public DeltaFeature.Builder rimSize(IntProvider rimSize)
      Sets the size of the rim of the delta.
      Parameters:
      rimSize - the rim size
      Returns:
      this builder
      Since:
      3.0.0
    • build

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