Jump to content

Need help understanding transferStackInSlot(player, slotID) [UNSOLVED]


TheEpicTekkit

Recommended Posts

Hello everyone.

 

I don't have a problem that needs solving, but a method that I want to understand better than I do.

 

I am making many blocks with custom GUIs in my mod, and so far, they have had pretty simple GUIs, and I have just copied the transferStackInSlot method from ContainerFurnace with minor modifications that I still barely understood. But now I am making a more complicated GUI, and I have 1 input slot (ID 0), and 6 output slots (ID 1 to 7), I am trying to set up the transferStackInSlot method for this, but am getting confused and stuck.

 

All I really want is a detailed explanation to help me understand what this method does, how it works, and how to use it for custom GUIs.

 

Thanks.

I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.

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.

×
×
  • Create New...

Important Information

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