// follows ALLOW/DENY: default to if no block was interacted with
if (selectResult(event.useItemInHand(), !useInteractedBlock) && holding != null) {
// call out to the item type to determine the appropriate right-click action
ItemType type = ItemTable.instance().getItem(holding.getType());
if (clicked == null) {
type.rightClickAir(player, holding);
} else {
type.rightClickBlock(player, clicked, face, holding, clickedLoc);
}
}