Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1.  
  2. for (int x = x1 ; x <= x2; x++)
  3. {
  4. for (int y = y1 ; y <= y2; y++)
  5. {
  6. for (int z = z1 ; z <= z2; z++)
  7. {
  8. if (z != z1 && y != y1 && x != x1)
  9. {
  10. // don't spawn
  11. continue;
  12. }
  13. // spawn block here - should fill it up :P
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement