how do you stop the player from dying

Started by slenered on

Topic category: Advanced modding

Last seen on 02:09, 23. Oct 2022
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you stop the player from dying
Mon, 02/10/2020 - 18:43 (edited)

The title said all, how do you stop the player from dying?

Edited by slenered on Mon, 02/10/2020 - 18:43
Last seen on 20:35, 13. Jun 2023
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Erm, that's actually pretty…
Wed, 02/12/2020 - 23:30

Erm, that's actually pretty vague. It depends what the player is dying from and under what circumstances you want it to stop. Maybe you could use a procedure to add health or apply a potion effect?

Last seen on 00:33, 7. Nov 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the command: …
Mon, 03/02/2020 - 20:14

You can use the command: /effect @p minecraft:resistance [time] 255 or you can use the procedure: add potion with level 255 and duration [time] to provided entity: resistance (under entity procedures)