I'm trying to teach my nephew to play survival mode but he dies a lot, is there a command to make him resistant to damage? I know there's a resistance command but can't figure it out. Also is there a way to make it permanent?
* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
kokokonus2026-01-28 22:36
/effect give Nephew minecraft_resistance (how ever much resistance you want 1-255) (however long you want it to be, if I remember correctly if you do a very high number it will be infinite)
kokokonus2026-01-28 22:37
Side note every time he dies you will have to redo the command
TriangularHexagon2026-01-28 22:38
this won't prevent him from dying, but it will prevent him from losing all of his stuff. keepInventory is a gamerule that lets you keep your items and xp after dying. a lot of people even use it as a quick teleport back to their respawn point if they don't want to manually travel all the way back from wherever they travelled to
Jodoro-Isamov2026-01-29 01:27
I've seen this game rule, we don't want it for ourselves but is it possible to just set it for him?
Cobyt32026-01-29 14:18
Sadly not, but correcting the guy who commented about that resistance effect; Resistance 5 and above is essentially invincibilty, since each level provides a 20% damage reduction, 5 being 100%.
Only way to die like that is falling out of the world or commands.
So your best choice is just giving him the resistance 5 effect with infinite time using commands
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Only way to die like that is falling out of the world or commands.
So your best choice is just giving him the resistance 5 effect with infinite time using commands