setItemInHand

public abstract void setItemInHand(ItemStack item)

Sets the item to the given ItemStack, this will replace whatever the user was holding.

Parameters

item

The ItemStack which will end up in the hand