Class ComposedCarver.Builder

java.lang.Object
dev.wyck.worldgen.carver.types.ComposedCarver.Builder
Enclosing interface:
ComposedCarver

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

  • Method Details

    • resourceKey

      @AsOf("3.0.0") public ComposedCarver.Builder resourceKey(ResourceKey resourceKey)
      Sets the resource key of the carver.
      Parameters:
      resourceKey - the resource key of the carver
      Returns:
      this builder
      Since:
      3.0.0
    • type

      @AsOf("3.0.0") public ComposedCarver.Builder type(WorldCarverType type)
      Sets the type of the carver.
      Parameters:
      type - the type of the carver
      Returns:
      this builder
      Since:
      3.0.0
    • config

      @AsOf("3.0.0") public ComposedCarver.Builder config(CarverConfiguration config)
      Sets the configuration of the carver.
      Parameters:
      config - the configuration of the carver
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public ComposedCarver build()
      Builds the composed carver.
      Returns:
      the composed carver
      Since:
      3.0.0