Package net.minecraftforge.client.event
Class GuiOpenEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.GuiOpenEvent
public class GuiOpenEvent
extends net.minecraftforge.eventbus.api.Event
This event is called before any Gui will open.
If you don't want this to happen, cancel the event.
If you want to override this Gui, simply set the gui variable to your own Gui.
-
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
-
gui
-
-
Constructor Details
-
GuiOpenEvent
-
-
Method Details
-
getGui
-
setGui
-