Uses of Class
net.neoforged.neoforge.client.event.ScreenEvent
Packages that use ScreenEvent
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ScreenEvent in net.neoforged.neoforge.client.event
Subclasses of ScreenEvent in net.neoforged.neoforge.client.eventModifier and TypeClassDescriptionstatic classFired directly after the background of the screen is drawn.static classFired when a keyboard key corresponding to a character is typed.static classFired after the character input is handled, if not handled by the screen and the correspondingScreenEvent.CharacterTyped.Preis not cancelled.static classFired before the character input is handled by the screen.static classFired before aScreenis closed.static classFired when a screen is being initialized.static classFired after the screen's overridable initialization method is called.static classFired before the screen's overridable initialization method is fired.private static classFired whenever a keyboard key is pressed or released.static classFired when a keyboard key is pressed.static classFired after the key press is handled, if not handled by the screen and the correspondingScreenEvent.KeyPressed.Preis not cancelled.static classFired before the key press is handled by the screen.static classFired when a keyboard key is released.static classFired after the key release is handled, if not handled by the screen and the correspondingScreenEvent.KeyReleased.Preis not cancelled.static classFired before the key release is handled by the screen.static classFired when a mouse button is pressed.static classThis event is fired after the mouse click is handled, if the correspondingScreenEvent.MouseButtonPressed.Prewas not cancelled.static classFired before the mouse click is handled by the screen.static classFired when a mouse button is released.static classThis event is fired after the mouse release is handled, if the correspondingScreenEvent.MouseButtonReleased.Prewas not cancelled.static classFired before the mouse release is handled by the screen.static classFired when the mouse was dragged while a button is being held down.static classFired after the mouse drag is handled, if not handled by the screen and the correspondingScreenEvent.MouseDragged.Preis not cancelled.static classFired before the mouse drag is handled by the screen.private static classFired whenever an action is performed by the mouse.static classFired when the mouse was dragged while a button is being held down.static classFired after the mouse scroll is handled, if not handled by the screen and the correspondingScreenEvent.MouseScrolled.Preis not cancelled.static classFired before the mouse scroll is handled by the screen.static classFired before anyScreenis opened, to allow changing it or preventing it from being opened.static classFired when a screen is being drawn.static classFired after the screen is drawn.static classFired before the screen is drawn.static classFired ahead of rendering any active mob effects in theinventory screen.