Class LegacySinglePoolElement.Builder
java.lang.Object
dev.wyck.worldgen.structure.pools.elements.LegacySinglePoolElement.Builder
- Enclosing interface:
LegacySinglePoolElement
Builder for
LegacySinglePoolElement.- Since:
- 3.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(LegacySinglePoolElement element) Builder(StructureTemplate template) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the element.overrideLiquidSettings(LiquidSettings overrideLiquidSettings) Overrides the structure's own waterlogging behaviour for this element.processors(ProcessorList processors) Sets the processors the template is run through.projection(Projection projection) Sets how the template is fitted to the terrain.template(StructureTemplate template) Sets the template this element places.
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
template
Sets the template this element places.- Parameters:
template- the template- Returns:
- this builder
- Since:
- 3.4.0
-
processors
Sets the processors the template is run through.- Parameters:
processors- the processor list- Returns:
- this builder
- Since:
- 3.4.0
-
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 LegacySinglePoolElement.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
Builds the element.- Returns:
- the element
- Since:
- 3.4.0
-