Jump to content

Chest Item


zOnlyKroks

Recommended Posts

3 hours ago, zOnlyKroks said:

Hello, i got no error with this, but it just wont open the chest inventory or store anything. Can you guys help? https://pastebin.com/UtnRHTUW

lg,

zOnlyKroks

I am afraid you code is incomplete. There is a bunch of other stuff you need when creating a chest inventory, such as an IItemHandler to actually store the items, etc. TheGreyGhost's modding by example tutorial on this is quite good, which can be found here.

Link to comment
Share on other sites

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.