getHandItem

fun Player.getHandItem(hand: EquipmentSlot?): ItemStack?

Returns the itemInHand of the given EquipmentSlot if it is an hand slot.