-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When using a menu/inventory isn't it more common to want to assign a callback to a position/icon and call that specifically, rather then have a single handler for an inventory?
You could keep the single inventory callback, but use that as a fallback for if an icon/position callback wasn't defined.
This would support dynamic menu's a lot better, because instead of having to rely on decoding an itemstack or position number to work out what was clicked, you could just assign an adapter class for each icon that would then call the method required in your plugin.
Metadata
Metadata
Assignees
Labels
No labels