Created
January 24, 2013 06:52
-
-
Save Phara0h/4618188 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function AirSearch() | |
{ | |
for (var i = 0; i < (worldSize * 16); i++) | |
{ | |
for(var j = 0; j < (worldSize * 16); j++) | |
{ | |
for(var k = 0; k < 256; k++) | |
{ | |
world.getBlock(i*64,j*64,k*64, function(msg){ | |
airSearchCount--; | |
console.log(airSearchCount); | |
}); | |
airSearchCount++; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment