Check if the given BlockPos has valid coordinates
(BlockPos pos)
| 242 | * Check if the given BlockPos has valid coordinates |
| 243 | */ |
| 244 | private boolean isValid(BlockPos pos) |
| 245 | { |
| 246 | return pos.getX() >= -30000000 && pos.getZ() >= -30000000 && pos.getX() < 30000000 && pos.getZ() < 30000000 && pos.getY() >= 0 && pos.getY() < 256; |
| 247 | } |
| 248 | |
| 249 | /** |
| 250 | * Checks to see if an air block exists at the provided location. Note that this only checks to see if the blocks |
no test coverage detected