Checks to see if an air block exists at the provided location. Note that this only checks to see if the blocks material is set to air, meaning it is possible for non-vanilla blocks to still pass this check. @param pos The position of the block being checked.
(BlockPos pos)
| 253 | * @param pos The position of the block being checked. |
| 254 | */ |
| 255 | public boolean isAirBlock(BlockPos pos) |
| 256 | { |
| 257 | return this.getBlockState(pos).getBlock().getMaterial() == Material.air; |
| 258 | } |
| 259 | |
| 260 | public boolean isBlockLoaded(BlockPos pos) |
| 261 | { |
no test coverage detected