Custom Health

Started by ImDaMilan on

Topic category: Help with MCreator software

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Health
Sat, 07/31/2021 - 20:09 (edited)

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.

 

Edited by ImDaMilan on Sat, 07/31/2021 - 20:09