Guest User

Untitled

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