title: How to get health of an entity holding enchanted item
body: <p>I am currently trying to make a Minecraft mod in Fabric, and part of it is an enchantment that changes attack damage based on the health of the entity holding it. Currently, I believe I have a method that gets the health of an entity,</p>
  <pre><code>public static float getUserHealth(LivingEntity user) {
          return user.getHealth();
      }
  </code></pre>
  <p>However, I cannot find a way to get the entity so I can run this.</p>
  <p>So, does anyone know how to get the entity holding the enchanted item so I can use it in this method?</p>