Jump to content

More inventory slots


shucke

Recommended Posts

Hey guys,

ive been trying to figure this out for a while now but it just doesnt work.

so what im trying to do is create a few extra inventory slots to the players inventory for special items and stuff.

i installed the player api and added a playerbase class to the player but i still cant seem to work out how to add new slots.

 

and im trying to do this without editing any base classes.

so if any of you have any clue or experience on how to do this please leave a comment.

 

Link to comment
Share on other sites

How about when the player opens their inventory, you call for your own custom GUI to be opened and just link it to the players inventory, and save the items in the custom slots to an nbt

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Link to comment
Share on other sites

i tried that but i cant seem to figure out how it works.

can someone pls give me a little push in the right direction where to start and where to save the custom data.

if anyone knows a open source mod that does this can you please send me the link to it cuz this is driving me crazy :S

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.