Jump to content

Recommended Posts

Posted

So Im attempting to raise items max stack well in my container. So far I've just changed how the slotClick method works, where when it clicks an item thats the same it will just add to the count instead of the usual way.

Anywho all that works, thats not my problem though. My problem is when I exit the world and reopen it the container items are gone, I feel like it has something to do with the read/writefromNBT so I tried saving the itemCounts to an integer array and setting all the item counts to 1, then on read I will set all the counts from the array, it didn't seem to do anything. Any ideas?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.