(int x, int yStart, int z, int yEnd)
| 56 | } |
| 57 | |
| 58 | private int countAirY(int x, int yStart, int z, int yEnd) { |
| 59 | int sum = 0; |
| 60 | for (int yRun = yStart; yRun <= yEnd; yRun++) { |
| 61 | if (this.map.isAirBlock(new Position(x, yRun, z))) { |
| 62 | sum++; |
| 63 | } |
| 64 | } |
| 65 | return sum; |
| 66 | } |
| 67 | } |