Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int y = ymin; y <= xmax; ++y) {
- for (int x = xmin; x <= xmax; ++x) {
- for (int z = zmin; z <= zmax; ++z) {
- if(worldObj.getBlockId(x,y,z) == Block.glass.blockID) {
- worldObj.setBlockWithNotify(x,y,z, 0);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment