Code (Text): for (int x = 0; x != s.getWidth(); x++) { for (int y = 0; y != s.getHeight(); y++) { for (int z = 0; z != s.getHeight(); z++) { Location loc = new Location(s.getWorld(), x, y, z); Block b = loc.getBlock(); if(b.getState() instanceof Chest) { chests.add((Chest) b.getState()); System.out.println("added"); } } } } It doesn't add any chests. Do you guys know what's the problem? Thanks.