hotbarButton

The number of the clicked hotbar button (0-8) or -1 if not a NUMBER_KEY action

Since

2.0.0