Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int scanSize = 120;
- int hScanSize = scanSize / 2;
- int scanResolution = 20;
- for (int xx = (int)posX - hScanSize; xx <= posX + hScanSize; xx+= scanResolution) {
- for (int zz = (int)posZ - hScanSize; zz <= posZ + hScanSize; zz+= scanResolution) {
- if (this.worldObj.getBlockId(xx, (int)posY, zz) == 0) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement