I managed to get the Items to be persistent with these changes. But when I save and reload the world they are empty again.
PackItem
GuiHandler
PackContainer
PackCompatibilityProvider
Hey guys, I am trying to make a backpack type item. I have managed to get the item to open a gui but when I put items into the item and close it the items disappear. Can anyone tell me what I'm doing wrong? My code is below..
PackItem GuiHandler
PackContainer
I also have a small problem with the GUI slots being about one pixel too far to the left so if you spot the fix for that, then i'll be just as happy!
Any help is appreciated!
9 replies
Important Information
By using this site, you agree to our Terms of Use.