Minecraft wiki entry for Building_a_rollercoaster, associated text: Resistance 5 makes the player completely immune to all damage. It is available through an upgraded Potion of the Turtle Master or Commands.