Package net.minecraftforge.client.event
Class GuiScreenEvent.InitGuiEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.GuiScreenEvent
net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent
net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent.Pre
- Enclosing class:
- GuiScreenEvent.InitGuiEvent
This event fires just after initializing
If canceled the following lines are skipped in
GuiScreen#mc
, GuiScreen#fontRenderer
,
GuiScreen#width
, and GuiScreen#height
.If canceled the following lines are skipped in
GuiScreen#setWorldAndResolution(Minecraft, int, int)
:this.buttonList.clear();
this.children.clear();
this.initGui();
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent
GuiScreenEvent.InitGuiEvent.Post, GuiScreenEvent.InitGuiEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent
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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent
addWidget, getWidgetList, removeWidget
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
Pre
-