Jump to content

Recommended Posts

Posted

Hello guys,

 

Is it possible to move an item from player's inventory to a slot in the workbench ?

To my mind, it's a mix of client sided and server sided actions so...
I'm a newbie in minecraft modding. I get the list of items in inventory on onPlayerOpenContainer event, but I still can't move them to any other slot (in my inventory). I know this is possible because some mods are sorting inventory, but I don't know if an item can be moved to another container, such as a workbench.

The end goal is to be able to craft an item automatically (pressing button or whatever). For example, it takes 3 stacks of sugar canes from inventory, moves them to the workbench in good slots, and make the craft. 

I don't want to waste my time on unrealizable things  that's why I've decided to explain my problem here.

 

Thanks :)

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.