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.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Constructor and Description |
---|
Pre(Screen gui,
Button button,
java.util.List<Button> buttonList) |
getButton, getButtonList, setButton, setButtonList
getGui