Don't use entity here. Use Damageable. It should work just fine since we just using a method from it.