Currently you are unable to detect an ignored slot click. This can be helpful when needed to say replace the clicked item with air to allow the player to place his/her item in easily.
This issue can be addressed in 2 ways:
- Change https://github.com/gcflames5/menu-framework/blob/master/src%2Fmain%2Fjava%2Fnet%2Fnjay%2FMenuRegistry.java#L98
to not set anything for an ignored slot by default
- Add an IgnoredMenuItem annotation and send the callback there rather than modify MenuItem
I'm not sure which would be most developer friendly.
Currently you are unable to detect an ignored slot click. This can be helpful when needed to say replace the clicked item with air to allow the player to place his/her item in easily.
This issue can be addressed in 2 ways:
to not set anything for an ignored slot by default
I'm not sure which would be most developer friendly.