True immortality ?

Started by MinecraftElite99 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
True immortality ?

How could I make the player completely immune to damage? I know I can give resistance and regen etc. But is there a way to prevent the player from turning red when damage is taken and prevent the player from dying? I guess it would be like creative except mobs still target you, but nothing can harm you.  I've searched around the fourm and can't seem to find a solution

Create a procedure with the…
Tue, 10/11/2022 - 17:39

Create a procedure with the event entity attacked, and if event entity is a player cancel the event using a procedure from the advanced section

Its not a procedure, it's a…
Tue, 10/11/2022 - 18:06

Its not a procedure, it's a global event you select in the green block every procedure has

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh I see, thank you. The…
Tue, 10/11/2022 - 19:34

Oh I see, thank you. The only thing I don't understand is how to check if event entity is a player? Use an if statement but is there a procedure to check for the player?