Dragging items to the correct collection

EVG

Member
How can I make it so that when dragging from a chest to my inventory, some items are dragged to the main collection and some to another collection, such as Equippable Slots?
For Quantity Picker and "Take All" I was able to do this by overriding some methods in ChestMenu, but I did not find methods for dragging, where to look?
The video shows that the item is being dragged to the main collection, but it needs to be in another one.
 
The drag and drop work with DropCondition and Actions.
The Smart drop action is usually enough for most cases, but it is possible you may need a custom drop action.

Have a look at this page
and this video
 
Top