inventoryAction

val inventoryAction: InventoryAction

The type of inventory action that was performed in the interaction, such as picking up an item, placing an item, swapping with the cursor, etc. This is determined by the underlying Bukkit event and provides information about what kind of interaction occurred, which can be used to handle the interaction appropriately.