Started by
Stanstillplays
on
Topic category: Help with Minecraft modding (Java Edition)
Title is pretty self explanatory, I want to make the player invincible to all damage sources, for version 1.21.4. I am new to this but I've managed to make an armor that can do this but I want to apply the triggers to the player's entity, which I don't know how to do. Also, I've only realized now that I don't have a plugin for 1.21.4 so if anyone can provide me with one that would be nice. Please and Thank You.
Easy make a procedure and set the global trigger to on world tick update or on entity tick update then use the block execute command and put in the command effect give @a resistance 1000000 255 true
Yea, my fault, I wasn't specific enough, I meant to be immune to damage as in cancel the damage event, not just be immune to it, The void ignores resistance and I want to be immune to /kill too.
Well idk how to do that but good luck