(BlockPos pos)
| 227 | } |
| 228 | |
| 229 | public Block getGroundAboveSeaLevel(BlockPos pos) |
| 230 | { |
| 231 | BlockPos blockpos; |
| 232 | |
| 233 | for (blockpos = new BlockPos(pos.getX(), this.func_181545_F(), pos.getZ()); !this.isAirBlock(blockpos.up()); blockpos = blockpos.up()) |
| 234 | { |
| 235 | ; |
| 236 | } |
| 237 | |
| 238 | return this.getBlockState(blockpos).getBlock(); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Check if the given BlockPos has valid coordinates |
no test coverage detected