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.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent| Constructor and Description |
|---|
PotionShiftEvent(GuiScreen gui) |
getGuipublic PotionShiftEvent(GuiScreen gui)