1, Use a "for" loop, because you know the limits beforehand; a for loop is usually better optimized than a while loop. Also it's more readable.
2, Use a cBlockArea object to read the data around the player and then access it easily on a block-by-block basis. The cBlockArea should be properly documented in the Wiki
2, Use a cBlockArea object to read the data around the player and then access it easily on a block-by-block basis. The cBlockArea should be properly documented in the Wiki