Package net.minecraftforge.client.event
Class ScreenEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
- Direct Known Subclasses:
ScreenEvent.BackgroundDrawnEvent
,ScreenEvent.DrawScreenEvent
,ScreenEvent.InitScreenEvent
,ScreenEvent.KeyboardCharTypedEvent
,ScreenEvent.KeyboardKeyEvent
,ScreenEvent.MouseInputEvent
,ScreenEvent.PotionShiftEvent
,ScreenEvent.PotionSizeEvent
public class ScreenEvent
extends net.minecraftforge.eventbus.api.Event
Event classes for GuiScreen events.
- Author:
- bspkrs
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This event fires at the end ofScreen.renderBackground(PoseStack, int)
and before the rest of the Gui draws.static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Deprecated, for removal: This API element is subject to removal in a future version.This event was made redundant by the removal of the screen shifting due to potion indicators in the inventory screen (along with being moved to the right hand side).static class
Fired to determine whether to render the potion indicators in theinventory screen
in compact or classic mode.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
screen
-
-
Constructor Details
-
ScreenEvent
-
-
Method Details
-
getScreen
The GuiScreen object generating this event.
-