Affects Version/s: Minecraft 1.13-pre5
Fix Version/s: None
As the title says, when you use the command /execute in <dimension> run tp @p <x> <y> <z> to teleport between dimensions, your experience disappears, as if you've just joined a new world. Your full experience will re-appear when you perform any new action that gains experience, or when you log off and come back. While your experience is missing, you are unable to use it for enchanting.
Steps to reproduce:
- Gain experience in survival or use /experience command to apply several levels of experience
- Use command /execute in the_nether run tp @p <x> <y> <z> (inputting safe coordinates) to teleport from overworld to the nether. (Note it still happens with any combination of to & from dimensions- ex. from the_nether to the_end, from the_end to overworld)
- See experience has disappeared.
- Close/log-off world.
- Reload/login to world.
- See experience gained has re-appeared.
My xp bar before teleport:
xp bar after teleport:
Note: This issue was present in earlier snapshots as well, I just forgot to report it.