setItemInHand

fun setItemInHand(itemInHand: Boolean): ClickAction

Whether the click should act as if an item is being held (defaults to whether there actually is an item in the hand)

Parameters

itemInHand

to be holding an item or not

Sources

Link copied to clipboard