getSlot

public int getSlot()

The slot number that was clicked, ready for passing to getItem. Note that there may be two slots with the same slot number, since getClassById view links two different inventories.

Return

The slot number.