@Override public boolean removedByPlayer(@Nonnull IBlockState bs, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull EntityPlayer player, boolean willHarvest) { if (willHarvest) { return true; } return super.removedByPlayer(bs, world, pos, player, willHarvest); }
@Override public void harvestBlock(@Nonnull World worldIn, @Nonnull EntityPlayer player, @Nonnull BlockPos pos, @Nonnull IBlockState state, @Nullable TileEntity te, @Nonnull ItemStack stack) { super.harvestBlock(worldIn, player, pos, state, te, stack); super.removedByPlayer(state, worldIn, pos, player, true); }