(World worldIn, BlockPos pos, IBlockState state)
| 212 | } |
| 213 | |
| 214 | public void breakBlock(World worldIn, BlockPos pos, IBlockState state) |
| 215 | { |
| 216 | if (state.getValue(POWERED)) |
| 217 | { |
| 218 | worldIn.notifyNeighborsOfStateChange(pos, this); |
| 219 | EnumFacing enumfacing = state.getValue(FACING).getFacing(); |
| 220 | worldIn.notifyNeighborsOfStateChange(pos.offset(enumfacing.getOpposite()), this); |
| 221 | } |
| 222 | |
| 223 | super.breakBlock(worldIn, pos, state); |
| 224 | } |
| 225 | |
| 226 | public int isProvidingWeakPower(IBlockAccess worldIn, BlockPos pos, IBlockState state, EnumFacing side) |
| 227 | { |
nothing calls this directly
no test coverage detected