Package com.sk89q.worldguard.util
Class SpongeUtil
java.lang.Object
com.sk89q.worldguard.util.SpongeUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSpongeWater(com.sk89q.worldedit.world.World world, int ox, int oy, int oz)Add water around a sponge.static voidclearSpongeWater(com.sk89q.worldedit.world.World world, int ox, int oy, int oz)Remove water around a sponge.
-
Method Details
-
clearSpongeWater
public static void clearSpongeWater(com.sk89q.worldedit.world.World world, int ox, int oy, int oz)Remove water around a sponge.- Parameters:
world- The world the sponge is inox- The x coordinate of the 'sponge' blockoy- The y coordinate of the 'sponge' blockoz- The z coordinate of the 'sponge' block
-
addSpongeWater
public static void addSpongeWater(com.sk89q.worldedit.world.World world, int ox, int oy, int oz)Add water around a sponge.- Parameters:
world- The world the sponge is located inox- The x coordinate of the 'sponge' blockoy- The y coordinate of the 'sponge' blockoz- The z coordinate of the 'sponge' block
-