getHeldItem

abstract fun getHeldItem(hand: Hand): ItemStack

Gets the item that this equipable holds in the given hand.

This may return ItemStack.empty if this equipable is not holding an item in the given hand.

Return

the item this mob is holding in the hand

Parameters

hand

the hand