Started by
lactrosepvp
on
Tue, 04/25/2023 - 16:23
Topic category: Help with modding (Java Edition)
Basically i want it so whenever player takes a certain amount of damage example: higher than 1 heart a procedure executes. I just need to know how to detect how much damage the player takes.
There is a Global Trigger "Before entity gets hurts".
Then you can check for specific Entity for example player and also you can get the amount of the Damage. On the right there you will see the dependencies of the Global Trigger. Double Click "amount" to get the procedure block with the amount dependency.