Uses of Class
net.neoforged.neoforge.client.event.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
Modifier and TypeClassDescriptionstatic class
Fired directly after the background of the screen is drawn.static class
Fired when a keyboard key corresponding to a character is typed.static class
Fired after the character input is handled, if not handled by the screen and the correspondingScreenEvent.CharacterTyped.Pre
is not cancelled.static class
Fired before the character input is handled by the screen.static class
Fired before aScreen
is closed.static class
Fired when a screen is being initialized.static class
Fired after the screen's overridable initialization method is called.static class
Fired before the screen's overridable initialization method is fired.private static class
Fired whenever a keyboard key is pressed or released.static class
Fired when a keyboard key is pressed.static class
Fired after the key press is handled, if not handled by the screen and the correspondingScreenEvent.KeyPressed.Pre
is not cancelled.static class
Fired before the key press is handled by the screen.static class
Fired when a keyboard key is released.static class
Fired after the key release is handled, if not handled by the screen and the correspondingScreenEvent.KeyReleased.Pre
is not cancelled.static class
Fired before the key release is handled by the screen.static class
Fired when a mouse button is pressed.static class
This event is fired after the mouse click is handled, if the correspondingScreenEvent.MouseButtonPressed.Pre
was not cancelled.static class
Fired before the mouse click is handled by the screen.static class
Fired when a mouse button is released.static class
This event is fired after the mouse release is handled, if the correspondingScreenEvent.MouseButtonReleased.Pre
was not cancelled.static class
Fired before the mouse release is handled by the screen.static class
Fired when the mouse was dragged while a button is being held down.static class
Fired after the mouse drag is handled, if not handled by the screen and the correspondingScreenEvent.MouseDragged.Pre
is not cancelled.static class
Fired before the mouse drag is handled by the screen.private static class
Fired whenever an action is performed by the mouse.static class
Fired when the mouse was dragged while a button is being held down.static class
Fired after the mouse scroll is handled, if not handled by the screen and the correspondingScreenEvent.MouseScrolled.Pre
is not cancelled.static class
Fired before the mouse scroll is handled by the screen.static class
Fired before anyScreen
is opened, to allow changing it or preventing it from being opened.static class
Fired when a screen is being drawn.static class
Fired after the screen is drawn.static class
Fired before the screen is drawn.static class
Fired ahead of rendering any active mob effects in theinventory screen
.