When clicking on air the event PlayerInteractEvent doesn't fire, but clicking on a block it works.
This affects even versions 1.13 and 1.12.2
Test Code:
@EventHandler public void onPlayerInteract(PlayerInteractEvent event) { System.out.println(event.getAction()); }