How do you make the player invulnerable via helmet enchant?

Using regen doesn't work as you can be one-shot.

Continue to help post