How to delete inventory without entering the game

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Coinless

New Member
Jul 29, 2019
15
0
0
I keep crashing, and i think its because of an item in my inventory, is there anyway i can delete it, without playing the game?
 

Dravarden

New Member
Jul 29, 2019
1,693
0
0
go to your .minecraft folder
enter saves
enter your world folder
then players
delete the file (yournamehere).dat
 

MilConDoin

New Member
Jul 29, 2019
1,204
0
0
I think this is part of the level.dat
Try using NBTExplorer on it and finding your entry. (Sorry, no time right now to be more eloquent).
 

MilConDoin

New Member
Jul 29, 2019
1,204
0
0
So, more time now.
NBTExplorer, open the level.dat
Go to Data->Player->Inventory
All the entries there describe, what you have in your inv.
If you know which item makes the problem (and where in your inventory it is):
Slot 0-8 is the hotbar, 9-35 is the inventory, 100-103 is the armor.
If you only know the item ID: look at the id-entry (and damage-entry for metadata).
 

iN3RDDannyx

New Member
Jul 29, 2019
57
0
0
I had something similar on a server, I kept crashing everytime I joined. The admin found out that it was an RP frame with a damage value of 1. The best way is to just cross check item ids and look for one that match or ones that may harass damage value.
 

Rini

New Member
Jan 12, 2021
1
0
2
Hi,

@MilConCoin, your suggestion helped me fix my issue which was the same.
What I did is:
Went to players folder, found the item that broke it (forestry 8801) and removed it
Went to level.dat and level.dat.old and did the same.
For some reason, it has made a new instance of the old so this was what I did to solve it for sure.
Now it works, but make sure you find the inventory in all 3 *.dat files and either remove the item or delete all the items inside.

Enjoooy :D