how do you stop the player from dying

Started by slenered on Mon, 02/10/2020 - 18:41

Topic category: Advanced modding

Last seen on 18:17, 26. May 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 01:56, 22. Feb 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 13:22, 1. May 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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)