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
public static class GuiScreenEvent.PotionShiftEvent extends GuiScreenEvent
This event fires inInventoryEffectRenderer#updateActivePotionEffects()
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
-
-
Constructor Summary
Constructors Constructor Description PotionShiftEvent(Screen gui)
-
Method Summary
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Constructor Detail
-
PotionShiftEvent
public PotionShiftEvent(Screen gui)
-
-