get amount of damage receive if possible

Started by qym on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get amount of damage receive if possible

I was wondering if i can get a set amount of damage and if it surpasses that amount the damage will be cancel i know to to make the damage cancel but i do not know how to get the amount of damage received please help me