(Solved) Get the amount of damage dealt by mob in MCreator 2024.3

Started by Oofator on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Solved) Get the amount of damage dealt by mob in MCreator 2024.3
Sun, 11/24/2024 - 20:51 (edited)

The "amount" dependency seems to be replaced by a damagesource dependency. That's cool and all, but how am I supposed to get the amount of damage?

Edited by Oofator on Sun, 11/24/2024 - 20:51
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for the help, but…
Sun, 11/24/2024 - 20:50

Thank you for the help, but when trying your solution i noticed that the "amount" dependency is still there for the "Entity is attacked" global trigger. I'll just use that.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"amount" returns the damage…
Sun, 11/24/2024 - 21:54

"amount" returns the damage done before calculations. Use my method, it accounts for any damage reduction the entity might have (armor, potion effects, etc.)