303

pyramiddebedrockify

303
Mar 28th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1.         for (int y = ymin; y <= xmax; ++y) {
  2.             for (int x = xmin; x <= xmax; ++x) {
  3.                 for (int z = zmin; z <= zmax; ++z) {
  4.                     if(worldObj.getBlockId(x,y,z) == Block.glass.blockID) {
  5.                         worldObj.setBlockWithNotify(x,y,z, 0);
  6.                     }
  7.                 }
  8.             }
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment