Interface JigsawPoolElement
public interface JigsawPoolElement
An element in a jigsaw pool.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
The projection forelements
in aJigsawPool
. -
Method Summary
Modifier and TypeMethodDescriptionstatic JigsawPoolElement.Factory
factory()
boolean
place
(ServerLocation location) Places the element at given location without structure blocksboolean
place
(ServerLocation location, boolean withStructureBlocks) Places the element at given location.Returns the projection used for placing.
-
Method Details
-
factory
-
projection
JigsawPoolElement.Projection projection()Returns the projection used for placing.- Returns:
- The projection used for placing
-
place
Places the element at given location without structure blocks- Parameters:
location
- The location- Returns:
- true if the element was successfully placed
-
place
Places the element at given location.- Parameters:
location
- The locationwithStructureBlocks
- Whether to place the element with structure blocks- Returns:
- true if the element was successfully placed
-