Class Blocks

java.lang.Object
com.sk89q.worldguard.bukkit.util.Blocks

public final class Blocks extends Object
Utility methods to deal with blocks.
  • Method Details

    • getConnected

      public static List<org.bukkit.block.Block> getConnected(org.bukkit.block.Block block)
      Get a list of connected blocks to the given block, not including the given block.
      Parameters:
      block - the block
      Returns:
      a list of connected blocks, not including the given block