Topic category: Help with MCreator software
I'm working on a mod that has custom stats like strenght, damage, etc. that make a calculation on how much custom damage it would deal, but I don't know a way do make custom health, similar to the one on Hypixel Skyblock. I want to see how to make a custom health stat, that players can have and increase, but that also mobs will have, for example, a player would start out with 100 health, and an enderman will have, for example, 150 health, zombie will have 50 health, and so on, and weapons would deal damage based on that health, not the normal one. For example, a diamond sword, without any enchants or anything, would deal 25 health, and with enchants, for example (i know, i've said FOR EXAMPLE so many times), 70 health.