setCursor

public void setCursor(ItemStack newCursor)

Sets the result cursor after the drag is done.

Changing this item stack changes the cursor item. Note that changing the affected "dragged" slots does not change this ItemStack, nor does changing this ItemStack affect the "dragged" slots.

Parameters

newCursor

the new cursor ItemStack