Inventory Deletes itself
DanielGolan-mc opened this issue ยท 6 comments
Created a Custom Container (FuelChest) that when I'm exiting the world and coming back, cannot be opened, but if I brake the block, it's content dropped.
- Not an api thing
- Make sure you save the contents to the tag in the read/write nbt methods to save the inventory
I thought it's API because nobody could help me. See? I got the read / write! the problem is I can't open!
You should register your screen handler in your mod main entrypoint. Call this to register your screen handler