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 blocks and with water logging enabledboolean
place
(ServerLocation location, boolean withStructureBlocks) Places the element at given location with water logging enabledboolean
place
(ServerLocation location, boolean withStructureBlocks, boolean waterLogging) 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 and with water logging enabled- Parameters:
location
- The location- Returns:
- true if the element was successfully placed
-
place
Places the element at given location with water logging enabled- Parameters:
location
- The locationwithStructureBlocks
- Whether to place the element with structure blocks- 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 blockswaterLogging
- Whether to apply water logging when placing the element in a liquid- Returns:
- true if the element was successfully placed
-