@Override
 public void onHit(
     ItemStack tool,
     EntityLivingBase player,
     EntityLivingBase target,
     float damage,
     boolean isCritical) {
   ModifierNBT data = new ModifierNBT(TinkerUtil.getModifierTag(tool, name));
   Magnetic.apply(player, 30, data.level);
 }
 @Override
 public void afterBlockBreak(
     ItemStack tool,
     World world,
     IBlockState state,
     BlockPos pos,
     EntityLivingBase player,
     boolean wasEffective) {
   ModifierNBT data = new ModifierNBT(TinkerUtil.getModifierTag(tool, name));
   Magnetic.apply(player, 30, data.level);
 }