whichButton

public int whichButton()

Which button was pressed to initiate the enchanting.

Return

The button index (0, 1, or 2).