Minecraft wiki entry for Defeating_the_ender_dragon, associated text: Keep track of health at all times. If you take at least 12 × 6 damage at a time, hide behind a tower and eat a golden apple. You should use your healing potions if they are on the brink of death to recover instantly. If the totem of undying in your hand goes off, and you have another totem, quickly throw it in your off hand and resume fighting immediately.