public static class GuiScreenEvent.PotionShiftEvent extends GuiScreenEvent
InventoryEffectRenderer.updateActivePotionEffects()
when potion effects are active and the gui wants to move over.
Cancel this event to prevent the Gui from being moved.GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.PotionShiftEventEvent.HasResult, Event.Result| Constructor and Description |
|---|
PotionShiftEvent(GuiScreen gui) |
getGuigetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionShiftEvent(GuiScreen gui)