I need help figuring out how to calculate/obtain the "effective health" of an entity. In other words, is there a way to find the health of a mob counting armour, potions, and other factors.
For example, a basic zombie without armor has 10 hearts (effective) and a Zombie wearing say full iron armour may have 15ish effective health
For example, a basic zombie without armor has 10 hearts (effective) and a Zombie wearing say full iron armour may have 15ish effective health