setItem

public void setItem(ItemStack itemStack)

Sets the ItemStack being moved; if this is different from the original ItemStack, the original item will not be removed from the source inventory.

Parameters

itemStack

The ItemStack