Description
When you're in a dimension (Nether or End) and you're teleported by a command block in the overworld, you won't see your experience bar filled anymore. Your levels aren't displayed neither. You need to deconnect/reconnect (or quit/join the world again in single player) to display them again.
How to reproduce
1. Set a Command Block on "Repeat / Always active" mode on the chunk of the spawnpoint of the overworld, when fill it with this command :
execute as @a if data entity @s ActiveEffects[{Id:8b,Amplifier:3b}] run tp @s ~ ~1 ~
2. Create a Nether portal and go to the Nether.
3. Give yourself some xp points and a potion that will apply the effect needed to be teleported back :
/xp add @p 200
/give @p minecraft:potion{CustomPotionEffects:[{Id:8,Amplifier:3,Duration:1}]}
4. Drink the potion to be teleported.
Obviously, there's no screenshot I can sent to you.
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 – 📖 Game Wiki