I fell in lava with all my good stuff and was nearly about to die. I was really disappointed, and didn't want to lose my equipment, so I quit the game just before I died.
Now, I would like to change my gamemode to Creative, but if I rejoin the world, I'll die before being able to type in the command. Is there a way to set my gamemode from outside the game? I suspect that what I’m looking for will be in the world saves folder or something. “Open to LAN” is not an option, it almost killed me.