daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.         }
RAW Paste Data
Top