How to avoid fatal damage?

Started by erdneatatatin on

Topic category: Help with MCreator software

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to avoid fatal damage?

How can I make a procedure or a actually coding that can avoid the player die in any circumstances? Instead of dying they stop at half heart 


 

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a new global procedure…
Sun, 03/02/2025 - 18:55

make a new global procedure for entity dies and do this:

just change the "if item in main-hand" statement for whatever you want