Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int x = x1 ; x <= x2; x++)
- {
- for (int y = y1 ; y <= y2; y++)
- {
- for (int z = z1 ; z <= z2; z++)
- {
- if (z != z1 && y != y1 && x != x1)
- {
- // don't spawn
- continue;
- }
- // spawn block here - should fill it up :P
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement