onAirUse

public abstract void onAirUse(Player player, ItemStack itemStack)

Executed when a player right clicks with this item on the air.

Parameters

player

The player who right-clicked.

itemStack

The itemstack that corresponds to this item