Fixed the problem that all key bindings cannot be triggered because other mods cancel the key release event. The solution comes from malilib https://github.com/maruohon/malilib/issues/59
1.18.2 backport
Added "Favorite items cannot be picked up" option. Added "Favorite items cannot be swapped with offhand" option. Removed "Block any actions on favorites" option. Fixed issue with the marker not moving together when swapping favorite items with offhand. Now you cannot drop selected favorite items in hotbar when "Favorite items cannot be thrown" option was turned on.
Added "Do not quick stack items from the hotbar" option. Added "Block any actions on favorites" option. Added three optional favorite item styles: red background, gold border and iron border.
Simply catch the exception that occurs when clicking on a slot.
Add more default stacking targets and restocking sources, and now you can add any block entity to those two lists.