Set the action to be executed when the player clicks on any slot while the GUI is open.
Set the action to be executed when the inventory is closed