Package me.bimmr.bimmcore.misc
Class BlockCrawler
- java.lang.Object
-
- me.bimmr.bimmcore.misc.BlockCrawler
-
public class BlockCrawler extends java.lang.Object
Collects all adjacent blocks of the same material
-
-
Field Summary
Fields Modifier and Type Field Description static int[][]
ADJ_LOC
The constant ADJ_LOC.
-
Constructor Summary
Constructors Constructor Description BlockCrawler(int maxSize)
Instantiates a new Block crawler.
-
Method Summary
Modifier and Type Method Description java.util.ArrayList<org.bukkit.Location>
start(org.bukkit.block.Block origBlock)
Will return a list of the location of all blocks that match the block's type and are adjacent to it
-