(World worldIn, BlockPos pos, IBlockState state, Random rand)
| 72 | } |
| 73 | |
| 74 | public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) |
| 75 | { |
| 76 | if (worldIn.getLightFor(EnumSkyBlock.BLOCK, pos) > 11 - this.getLightOpacity()) |
| 77 | { |
| 78 | if (worldIn.provider.doesWaterVaporize()) |
| 79 | { |
| 80 | worldIn.setBlockToAir(pos); |
| 81 | } |
| 82 | else |
| 83 | { |
| 84 | this.dropBlockAsItem(worldIn, pos, worldIn.getBlockState(pos), 0); |
| 85 | worldIn.setBlockState(pos, Blocks.water.getDefaultState()); |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | public int getMobilityFlag() |
| 91 | { |
nothing calls this directly
no test coverage detected