public static class GuiScreenEvent.ActionPerformedEvent.Pre extends GuiScreenEvent.ActionPerformedEvent
GuiScreen.actionPerformed(GuiButton)
.
Replace button with a different button from buttonList to have that button's action executed.GuiScreenEvent.ActionPerformedEvent.Post, GuiScreenEvent.ActionPerformedEvent.Pre
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.PotionShiftEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
Pre(GuiScreen gui,
GuiButton button,
java.util.List<GuiButton> buttonList) |
getButton, getButtonList, setButton, setButtonList
getGui
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup