getItem

public ItemStack getItem()

Gets the item that is being dispensed. Modifying the returned item will have no effect, you must use setItem instead.

Return

An ItemStack for the item being dispensed