Make a creative world. Build a portal to the nether. Fly somewhere high and open, so that corresponding overworld coordinates will be above ground.
/effect give @p minecraft:night_vision 99999 1 true
/execute in overworld run tp @s ~ ~ ~
You may or may not have lost your creative 'flying' state.
You may or may not have lost your night vision. Relogging will fix that.
Fly up a little (or back to somewhere that will be 'safe' in the nether) and run
/execute in the_nether run tp @s ~ ~ ~
You may or may not have lost your creative 'flying' state.
You may or may not have lost your night vision. Relogging will fix that.
EXPECTED
Keep the darn client state!
I realize that this is probably a duplicate of some old bug or two (e.g. MC-92916, MC-88179, MC-29386), but now that mapmakers can teleport players across dimensions, it would be great for a new push/priority to fix this, and it is sooooo much easier to reproduce various failures now.
Related issues
is duplicated by
relates to
Comments


confirmed in 16a
Also affects experience.

Confirmed for 1.13.1.

id say i can confirm in 1.14, as i lose my extra hearts when changing dimensions, have health boost level 9, then all 20 extra hearts go away until a re-log,

Confirmed 19w40a

This has been in the game since 1.13.. C'mon mojang!

Still present in 20w16a

Yeah man! I too reported it in MC-183352. I loose the effect and my Hearts are Glitched and it is VERY annoying

Confirmed for 1.16 Prerelease 2

This is still in 1.16.3
Going between (custom) dimensions hides the xp amount until xp changes or the player relogs.
Can confirm in 20w49a. Also relates to MC-6431.
Can confirm in 21w03a.
Can confirm in 21w06a.

Can confirm in 1.17.1 Release Candidate 2.

Can confirm in 21w37a.

Can confirm in 1.18 Release Candidate 1.

Can confirm in 1.18 and 1.18.1 Pre-release 1.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19 and 1.19.1 Pre-release 3.

Can confirm in 1.19.2.

Quite severe in 23w18a. My XP bar was gone for a good part of a minute.

Can confirm in 1.20-pre1.

Confirm in 23w33a

Can confirm in 1.20.5-pre1

Affects 1.20.5 Release Candidate 2

Cannot reproduce from 24w20a onwards; seems fixed.
Look at the title. No only teleporting to the nether, but any inter-dim teleporting with /execute in.