Class GuiScreenEvent.InitGuiEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
GuiScreenEvent.InitGuiEvent

public static class GuiScreenEvent.InitGuiEvent.Pre extends GuiScreenEvent.InitGuiEvent
This event fires just after initializing the Minecraft, font renderer, width, and height fields.

If canceled the following lines are skipped in Screen.init(Minecraft, int, int):
this.buttonList.clear();
this.children.clear();
this.initGui();