Package net.minecraftforge.client.event
Class GuiScreenEvent.PotionShiftEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.GuiScreenEvent
net.minecraftforge.client.event.GuiScreenEvent.PotionShiftEvent
- Enclosing class:
- GuiScreenEvent
This event fires in
EffectRenderingInventoryScreen
in the
checkEffectRendering
method when potion effects are active and the gui wants to move over.
Cancel this event to prevent the Gui from being moved.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent
GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
PotionShiftEvent
-