setItem

public void setItem(ItemStack item)

Sets the item being dispensed.

Parameters

item

the item being dispensed