This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
This is what I have now, at the moment it only checks for air blocks (which obviously doesn't work at deleting the blocks I want to delete)
for(int posY = 0; posY < 15; posY++)
{
if(world.isAirBlock(x, y + posY, z))
world.setBlockToAir(x, y, z)
}
for(int posYX = 0; posYX < 15; posYX++)
if(world.isAirBlock(x + posYX, y + posY, z))
This is what I have now, at the moment it only checks for air blocks (which obviously doesn't work at deleting the blocks I want to delete)
for(int posY = 0; posY < 15; posY++)
{
if(world.isAirBlock(x, y + posY, z))
{
world.setBlockToAir(x, y, z)
}
for(int posYX = 0; posYX < 15; posYX++)
{
if(world.isAirBlock(x + posYX, y + posY, z))
{
world.setBlockToAir(x, y, z)
}
}