xand3s Posted September 15, 2022 Share Posted September 15, 2022 Hello, basically I have an item that stores custom capability and I want to make it such that if I pick up an ItemStack with my mouse (in inventory screen) I can drop it off on another item and it will go to it's inventory (like Quark's functionality of inserting items into shulker boxes). I wonder if there is a smart way of approaching this, maybe making a custom event or maybe there is such an event already (I've looked through events but coulnd't find one with the context of player's inventory)? I'm quite new to modding and I was looking into Quark's source code to see how it's been done but couldn't find it. Quote Link to comment Share on other sites More sharing options...
ChampionAsh5357 Posted September 17, 2022 Share Posted September 17, 2022 I would suggest looking into how `BundleItem` does it since I imagine the behavior is exactly the same. Quote Link to comment Share on other sites More sharing options...
xand3s Posted September 17, 2022 Author Share Posted September 17, 2022 Okay, I'll look into it, thanks for the suggestion Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.