Started by
DustedMC
on
Topic category: Advanced modding
I'm trying to detect the amount of damage a player takes by setting up two procedures:
First activates before the player is damaged.
Second activates when the player is damaged.
I want to store the current health from the first one and the current health from the second one to subtract the first from the second, then if the result (the damage) is higher than 8, i want to proc a custom potion effect.
Edited by DustedMC on Tue, 08/08/2023 - 10:44
I recommend making a global variable in the workspace tab for this.
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei