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.PotionShiftEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
PotionShiftEvent(GuiScreen gui) |
getGui
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public PotionShiftEvent(GuiScreen gui)