Class ScreenEvent.InitScreenEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
ScreenEvent.InitScreenEvent

public static class ScreenEvent.InitScreenEvent.Pre extends ScreenEvent.InitScreenEvent
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();