Healing

Healing is the mechanic of regaining lost health. Without healing, every bit of damage would bring the player closer to their death.

Natural regeneration
Natural healing can be deactivated using the command.

Hunger
Whenever a player's hunger is or higher, they regenerate  every 5 seconds. This increases the player's exhaustion by 6, of which 4 cost hunger. If existing, the player's saturation is used up first.

Saturation
If the player's hunger bar is completely filled and they have left over saturation, this saturation gets drained, healing at a rate of every second. Just as with the hunger-based regeneration, every regenerated will deduct 1.5 saturation. With the maximum amount of 20 saturation, the player can rapidly regenerate up to.

Peaceful difficulty
When the difficulty is set to Peaceful, the player regenerates at a standard rate of per second, additionally with  every 4 seconds as the player's hunger bar is filled. Chorus fruit and golden apples, which can be eaten even when the hunger bar is full, can increase the player's regeneration even further. On the other hand, this also causes the player to lose saturation even when they change from other difficulty levels to Peaceful mode.

Potions
The player can drink a potion to – immediately or over time – regain health.

Potion of Healing
The potion of Healing instantly regenerates. If it gets amplified with glowstone, this value increases to. Such potions are used by witches as well, making them one of the few mobs being able to heal themselves.

Potion of Regeneration
The potion of Regeneration heals every 2.5 seconds over 45 seconds, resulting in  in total. Amplifying the potion with glowstone increases this rate to every 1.25 seconds, whereas redstone increases the duration to 1:30 minutes.

Golden apple
A golden apple can heal the player in different ways: Additionally, further status effects protect the player against new damage, see the main article for more.
 * It refills hunger.
 * It provides 9.6 saturation, which can be drained for very quickly if the player's hunger bar is filled.
 * Similar to a potion, a golden apple provides the Regeneration status effect. A normal golden apple gives Regeneration II for 5 seconds, and an enchanted golden apple for 20 seconds, resulting in regenerated from a normal golden apple and  from an enchanted one.

Beacon
When a beacon is upgraded to the highest level, it can be configured to provide the Regeneration status effect. As long as a player is within the radius of such a beacon, they regenerate every 2.5 seconds.

Mob healing
In contrast to the player, most mobs don't heal by themselves. Nevertheless, there are several ways to heal animals and monsters.

Potions
Most mobs are healed by potions of Healing and Regeneration just like the player.

On the other hand, undead mobs take damage from these potions, and healing them requires a potion of Harming. Potions of Regeneration or Poison don't affect undead mobs at all.

Regeneration
Rideable animals like horses, donkeys and llamas automatically regenerate at a very slow rate of about per minute.

Feeding
Some animals can also be fed in order to recover a set amount of hitpoints. The following animals can be fed: Feeding wolf cubs not only restores lost health, but can also increase their total health from the usual up to a maximum of.

Ender dragon
The ender dragon gets healed by the end crystals on the obsidian pillars in the End. If a crystal gets destroyed during the healing phase, though, the dragon takes damage instead.

Wither
The wither permanently regenerates its health. If an undead mob (including a wither) gets hit by a blue wither skull, they also get healed by the provided Wither effect.

History
Heilung