diff --git a/src/main/java/org/spongepowered/api/world/generation/structure/jigsaw/JigsawPoolElement.java b/src/main/java/org/spongepowered/api/world/generation/structure/jigsaw/JigsawPoolElement.java index 7558e5f30d..b56f417cae 100644 --- a/src/main/java/org/spongepowered/api/world/generation/structure/jigsaw/JigsawPoolElement.java +++ b/src/main/java/org/spongepowered/api/world/generation/structure/jigsaw/JigsawPoolElement.java @@ -51,6 +51,7 @@ 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 @@ -58,7 +59,7 @@ static Factory factory() { 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 @@ -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}. *
{@link Factory#matchingTerrain()} or {@link Factory#rigid()}