Started by
Oofator
on
Topic category: Help with Minecraft modding (Java Edition)
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
This will give you the exact amount of damage dealt to an entity: https://imgur.com/trO2uB9
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.
"amount" returns the damage done before calculations. Use my method, it accounts for any damage reduction the entity might have (armor, potion effects, etc.)