First, if type the command /effect give @p minecraft:health_boost 9999 4 false, then go to the end in Survival mode, your Healthboost effect will be gone and your Hearts will be glitched. And beacase I use command to play Minecraft survival, this problem isΒ VERY annoying
Related issues
Comments

Cannot reproduce in 20w19a, i followed your instructions but the health boost and all the hearts remain correctly after entering the end in survival.
@TheGabro, try doing the same thing in 1.15.2!!! I reported on 1.15.2 man. Type the command -->Β /effect give @p minecraft:health_boost 9999 4 in SURVIVAL MODE and then go to the end in Survival, kill the ender dragon using /kill @e[type=ender_dragon] and go to the end island using and ender pearl and then see what happends
Thank you for your report!
We're actually already tracking this issue in MC-124177, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Customer Support β βοΈ Feedback and Suggestions β π Game Wiki
Mojang,Β PLEASE fix this