Procedure happens when player takes certain amount of damage

Started by lactrosepvp on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure happens when player takes certain amount of damage

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.

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a Global Trigger …
Tue, 04/25/2023 - 20:13

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.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
😱 I didn't know we could…
Thu, 11/28/2024 - 13:45

😱

I didn't know we could double click the dependencies and get something from them. I've been looking up and down right and left web and site for how to detect the amount of damage dealt.