Class FixedPlacement.Builder

java.lang.Object
dev.wyck.worldgen.placement.FixedPlacement.Builder
Enclosing interface:
FixedPlacement

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

    • Builder

      public Builder()
    • Builder

      public Builder(FixedPlacement placement)
  • Method Details

    • positions

      @AsOf("3.0.0") public FixedPlacement.Builder positions(List<BlockVector> positions)
      Adds a list of positions to the builder.
      Parameters:
      positions - the positions to add
      Returns:
      this builder
      Since:
      3.0.0
    • positions

      @AsOf("3.0.0") public FixedPlacement.Builder positions(BlockVector... positions)
      Adds a list of positions to the builder.
      Parameters:
      positions - the positions to add
      Returns:
      this builder
      Since:
      3.0.0
    • position

      @AsOf("3.0.0") public FixedPlacement.Builder position(BlockVector position)
      Adds a single position to the builder.
      Parameters:
      position - the position to add
      Returns:
      this builder
      Since:
      3.0.0
    • position

      @AsOf("3.0.0") public FixedPlacement.Builder position(int x, int y, int z)
      Adds a single position to the builder.
      Parameters:
      x - the x coordinate
      y - the y coordinate
      z - the z coordinate
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public FixedPlacement build()
      Builds the fixed placement.
      Returns:
      the fixed placement
      Since:
      3.0.0