public static class GuiScreenEvent.InitGuiEvent extends GuiScreenEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.InitGuiEvent.Post
This event fires right after
GuiScreen.initGui() . |
static class |
GuiScreenEvent.InitGuiEvent.Pre
This event fires just after initializing
GuiScreen.mc , GuiScreen.fontRendererObj ,
GuiScreen.width , and GuiScreen.height , and just before calling GuiScreen.buttonList.clear()
and GuiScreen.initGui() . |
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.PotionShiftEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
InitGuiEvent(GuiScreen gui,
java.util.List<GuiButton> buttonList) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GuiButton> |
getButtonList()
The
buttonList field from the GuiScreen object referenced by gui . |
void |
setButtonList(java.util.List<GuiButton> buttonList) |
getGui
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup