The Bug:
Leaving the end for the first time refills spent absorption hearts.
Changing dimensions or reopening the world keeps the absorption hearts you have left. However, leaving the end through the exit portal for the first time, after the end poem, refills them to full, therefore introducing an inconsistency.
Steps to Reproduce:
In a world where you have never left the end, place down an end portal at your feet by using the command provided below.
/setblock ~ ~ ~ minecraft:end_portalOnce you are in the end, obtain a golden apple, switch to survival mode, and eat it.
Lose one absorption heart by using the command provided below.
/damage @s 2Place down another end portal at your feet by using the command provided below.
/setblock ~ ~ ~ minecraft:end_portalPress the escape key to skip the end poem, and observe if your absorption hearts are refilled.
Observed Behavior:
Spent absorption hearts are refilled when leaving the end for the first time.
Expected Behavior:
Spent absorption hearts would not be refilled when leaving the end for the first time.