Skip to content

Instantly share code, notes, and snippets.

@Phara0h
Created January 24, 2013 06:52
Show Gist options
  • Save Phara0h/4618188 to your computer and use it in GitHub Desktop.
Save Phara0h/4618188 to your computer and use it in GitHub Desktop.
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