public interface IButtonClickEventListener
Modifier and Type | Method and Description |
---|---|
void |
handleButtonClick(IButtonClickEventTrigger button,
int buttonKey) |
void handleButtonClick(IButtonClickEventTrigger button, int buttonKey)
button
- buttonKey
- The key of the button. Will always be 0 if called from minecraft code (as minecraft doesn't
support button clicks with any other numbers), as opposed to if this was called from
IGuiElement
code, in which case all button keys will be listened to.