I once played a vanilla Minecraft adventure map (called "Herobrine's Mansion") that prevented the player from losing their items on death. Which commands can be used to prevent the player from losing their items on death (in vanilla Minecraft)?
You can use the command
As mentioned before, you need to have cheats enabled, and you need to have the permissions to execute them.
Assuming you're in creative and have cheats enabled:
And you're done.
Assuming you're in Survival:
protected by Oak Feb 23 '13 at 17:20
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?