Class SpongeUtil

java.lang.Object
com.sk89q.worldguard.util.SpongeUtil

public final class SpongeUtil extends Object
  • 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 in
      ox - The x coordinate of the 'sponge' block
      oy - The y coordinate of the 'sponge' block
      oz - 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 in
      ox - The x coordinate of the 'sponge' block
      oy - The y coordinate of the 'sponge' block
      oz - The z coordinate of the 'sponge' block