I died in my hardcore mode world that I really care about. and I changed myself to creative mode, grabbed my stuff, put it in a chest and made a new book explaining to my future self how I died and how long I survived for in case my future self curiously came into the world to see what it was.
After I finished writing the book I grabbed my book of coordinates from my chest that I created and wrote before I died. I decided to play around with the save toolbar hotkey (dumb idea) and went to try save my toolbar, but instead of pressing C+6 like I meant to, I accidentally pressed X+6, which cleared my inventory completely because toolbar number 6 in the inventory was already previously empty, so it essentially replaced all my items with air.
My question here is, is there any way I can find and recover those 2 books in the world files or game files? I don't care what it takes to get those books back even if I have to mod the game, I just want a way to recover the books.
I don't really care much for the death book, just as long as I can get my coordinates back because they are extremely important to have.