Skip to content

Commit

Permalink
JigsawPoolElement waterlogging
Browse files Browse the repository at this point in the history
  • Loading branch information
Faithcaio committed Jun 2, 2024
1 parent 28b31ac commit 4220ba2
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ static Factory factory() {

/**
* Places the element at given location without structure blocks
* and with water logging enabled
*
* @param location The location
* @return true if the element was successfully placed
*/
boolean place(ServerLocation location);

/**
* Places the element at given location.
* Places the element at given location with water logging enabled
*
* @param location The location
* @param withStructureBlocks Whether to place the element with structure blocks
Expand All @@ -67,6 +68,17 @@ static Factory factory() {
*/
boolean place(ServerLocation location, boolean withStructureBlocks);

/**
* Places the element at given location.
*
* @param location The location
* @param withStructureBlocks Whether to place the element with structure blocks
* @param waterLogging Whether to apply water logging when placing the element in a liquid
*
* @return true if the element was successfully placed
*/
boolean place(ServerLocation location, boolean withStructureBlocks, boolean waterLogging);

/**
* The projection for {@link JigsawPoolElement elements} in a {@link JigsawPool}.
* <p>{@link Factory#matchingTerrain()} or {@link Factory#rigid()}</p>
Expand Down

0 comments on commit 4220ba2

Please sign in to comment.