getType

public abstract InventoryType getType()

Determine the type of inventory involved in the transaction. This indicates the window style being shown. It will never return PLAYER, since that is common to all windows.

Return

the inventory type