Class CustomComposedCarver.Builder<C>

java.lang.Object
dev.wyck.worldgen.carver.types.CustomComposedCarver.Builder<C>
Type Parameters:
C - The configuration type
Enclosing interface:
CustomComposedCarver<C>

@AsOf("3.0.0") public static final class CustomComposedCarver.Builder<C> extends Object
A builder for CustomComposedCarver.
Since:
3.0.0
  • Constructor Details

  • Method Details

    • carver

      @AsOf("3.0.0") public CustomComposedCarver.Builder<C> carver(CustomCarver<C> carver)
      Sets the custom carver.
      Parameters:
      carver - the custom carver
      Returns:
      this builder
      Since:
      3.0.0
    • config

      @AsOf("3.0.0") public CustomComposedCarver.Builder<C> config(C config)
      Sets the configuration of the custom carver.
      Parameters:
      config - the configuration of the custom carver
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public CustomComposedCarver<C> build()
      Builds the composed carver.
      Returns:
      the composed carver
      Since:
      3.0.0