Interface JigsawPoolElement


public interface JigsawPoolElement
An element in a jigsaw pool.
  • Method Details

    • factory

      static JigsawPoolElement.Factory factory()
    • projection

      Returns the projection used for placing.
      Returns:
      The projection used for placing
    • place

      boolean place(ServerLocation location)
      Places the element at given location without structure blocks and with water logging enabled
      Parameters:
      location - The location
      Returns:
      true if the element was successfully placed
    • place

      boolean place(ServerLocation location, boolean withStructureBlocks)
      Places the element at given location with water logging enabled
      Parameters:
      location - The location
      withStructureBlocks - Whether to place the element with structure blocks
      Returns:
      true if the element was successfully placed
    • place

      boolean place(ServerLocation location, boolean withStructureBlocks, boolean waterLogging)
      Places the element at given location.
      Parameters:
      location - The location
      withStructureBlocks - Whether to place the element with structure blocks
      waterLogging - Whether to apply water logging when placing the element in a liquid
      Returns:
      true if the element was successfully placed