setHeldItem

abstract fun setHeldItem(hand: Hand, item: ItemStack)

Sets the item that this mob holds in the given hand to the given item.

Parameters

hand

the hand

item

the item