Steps to reproduce
Turn on Immediate Respawn in world settings.
Set a spawn point in the overworld using a bed.
Build a nether portal and go to the nether.
Pick up some xp, with commands or from any other source.
Kill yourself.
Expected result
Your xp drops wherever you died in the nether and you respawn in the overworld with 0 levels.
Observed result
Your xp drops in the overworld at your spawn point and you immediately pick it when you respawn.
Notes
This is caused by MCPE-74963. The XP drops at the respawn point in the overworld because the player teleports before the death animation finishes, and XP does not drop until the death animation finishes. Items in the player inventory drop correctly at the place of death in the nether because they drop at the moment of death. You can observe that the xp drops at the respawn point after the death animation by performing the steps above on a second player and watching the respawn point closely:
If you skip step (2) the xp spawns at the X, Z of world spawn and very high in the air (probably at Y 32767 or Y 320) and falls to the ground after a period of time.
When Dying in the Nether a few times I noticed when I would be Quick Respawned to the over world, I respawned with 7 levels on my bar. Died again trying to retrieve my belongings and had 3-4 levels.
Not sure if it has to do with Auto Respawn respawning the player too quickly or if being in another dimension has a part to play in the matter as well.
I've been playing the Bedrock Version on PC for a while but never have I ever seen this bug except for earlier today.
Linked issues
is duplicated by 1
relates to 1
Attachments
Comments 3
This is because immediate respawn actually respawns you before your experience is ever dropped, and is either never dropped, or dropped as you respawn, so, at your respawn point, and you'll pick it up immediately. Experience doesn't drop immediately when you die or a mob dies, due to a different bug.
So when MCPE-74963 is eventually fixed, this bug, which is only caused by that one, will be fixed as well.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Is the Keep Inventory gamerule turned on?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki