Class ScreenEvent.Init.Pre

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

public static class ScreenEvent.Init.Pre extends ScreenEvent.Init
Fired before the screen's overridable initialization method is fired.

This event is cancellable, and does not have a result. If the event is cancelled, the initialization method will not be called, and the widgets and children lists will not be cleared.

This event is fired on the main Forge event bus, only on the logical client.