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