Guest User

Untitled

a guest
Dec 7th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. for (int x = 0; x < xLength; x++) {
  2. for (int y = 0; y < yLength; y++) {
  3. for (int z = 0; z < zLength; z++) {
  4. Block original = new Location (world, 0, 0, 0).getBlock();
  5.  
  6. Block block = corner1.getBlock().getRelative(x,y,z);
  7.  
  8. cuboid[i] = new Location(world, block.getX(), block.getY(), block.getZ());
  9. }
  10. }
Add Comment
Please, Sign In to add comment