Advertisement
Guest User

Wall Builder for ModPE

a guest
Oct 23rd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // WallBuilder v2.0 ('cause I can)
  2.  
  3. function buildMeineWall(height, width, x, y, z, blockId) {
  4.     // make the loop for the width
  5.     for(var widthDone = 0, widthDone<width, widthDone++) {
  6.         // add the height loop
  7.         for(var heightDone = 0, heightDone<height, height++) {
  8.             setTile(x,y,z,blockId);
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement