I'm trying to find a list of the variables and functions exposed in BlockEvents.leftClicked().
My goal is to left-click a block while holding specific items in each hand. The result would be removal of the 2 items held and giving a new item. (Recipe for an item by bashing 2 items into a rock, essentially.)
All I'm seeing in the tutorial pages are event.player.give() and event.block.set() which are both self-explanatory. I'm not seeing any way of checking what items the player is holding.