When you die at level 30 and return to get your experience points (xp) back where you died at you only get 7 levels back. That's a 23 level lose in xp. Is it a bug or is it intentional?
Linked issues
is duplicated by 1
Comments 2
Thank you for your report!
However, this issue has been closed as Working as Intended.
If you need help or have a suggestion you might like to follow a link below.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
This is intentional. You can only get a maximum of seven levels back according to the wiki:
When the player dies, they drop experience orbs worth 7 * current level experience points, up to a maximum of 100 points (enough to reach level 7), and all of the other experience vanishes. If the gamerule
keepInventory
is set to true, the experience is kept even if the player dies