Package net.minecraftforge.client.event
Class ScreenOpenEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenOpenEvent
public class ScreenOpenEvent
extends net.minecraftforge.eventbus.api.Event
This event is called before any Screen will open.
If you don't want this to happen, cancel the event.
If you want to override this Screen, simply set the screen variable to your own Screen.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
screen
-
-
Constructor Details
-
ScreenOpenEvent
-
-
Method Details
-
getScreen
-
setScreen
-