Class FixedPlacement.Builder
java.lang.Object
dev.wyck.worldgen.placement.FixedPlacement.Builder
- Enclosing interface:
FixedPlacement
Builder for
FixedPlacement.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the fixed placement.position(int x, int y, int z) Adds a single position to the builder.position(BlockVector position) Adds a single position to the builder.positions(List<BlockVector> positions) Adds a list of positions to the builder.positions(BlockVector... positions) Adds a list of positions to the builder.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
positions
Adds a list of positions to the builder.- Parameters:
positions- the positions to add- Returns:
- this builder
- Since:
- 3.0.0
-
positions
Adds a list of positions to the builder.- Parameters:
positions- the positions to add- Returns:
- this builder
- Since:
- 3.0.0
-
position
Adds a single position to the builder.- Parameters:
position- the position to add- Returns:
- this builder
- Since:
- 3.0.0
-
position
Adds a single position to the builder.- Parameters:
x- the x coordinatey- the y coordinatez- the z coordinate- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the fixed placement.- Returns:
- the fixed placement
- Since:
- 3.0.0
-