getItem

public abstract ItemStack getItem(int index)

Returns the ItemStack found in the slot at the given index

Return

The ItemStack in the slot

Parameters

index

The index of the Slot's ItemStack to return