setItemOnCursor
Sets the item to the given ItemStack, this will replace whatever the user was moving. Will always be empty if the player currently has no open window.
Parameters
item
The ItemStack which will end up in the hand
Sets the item to the given ItemStack, this will replace whatever the user was moving. Will always be empty if the player currently has no open window.
The ItemStack which will end up in the hand