Class SinglePoolElement.Builder

java.lang.Object
dev.wyck.worldgen.structure.pools.elements.SinglePoolElement.Builder
Enclosing interface:
SinglePoolElement

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

  • Method Details

    • template

      @AsOf("3.4.0") public SinglePoolElement.Builder template(StructureTemplate template)
      Sets the template this element places.
      Parameters:
      template - the template
      Returns:
      this builder
      Since:
      3.4.0
    • processors

      @AsOf("3.4.0") public SinglePoolElement.Builder processors(ProcessorList processors)
      Sets the processors the template is run through.
      Parameters:
      processors - the processor list
      Returns:
      this builder
      Since:
      3.4.0
    • projection

      @AsOf("3.4.0") public SinglePoolElement.Builder projection(Projection projection)
      Sets how the template is fitted to the terrain.
      Parameters:
      projection - the projection
      Returns:
      this builder
      Since:
      3.4.0
    • overrideLiquidSettings

      @AsOf("3.4.0") public SinglePoolElement.Builder overrideLiquidSettings(LiquidSettings overrideLiquidSettings)
      Overrides the structure's own waterlogging behaviour for this element.
      Parameters:
      overrideLiquidSettings - the liquid settings override
      Returns:
      this builder
      Since:
      3.4.0
    • build

      @AsOf("3.4.0") public SinglePoolElement build()
      Builds the element.
      Returns:
      the element
      Since:
      3.4.0