public static class GuiScreenEvent.KeyboardKeyPressedEvent.Post extends GuiScreenEvent.KeyboardKeyPressedEvent
IGuiEventListener.keyPressed(int, int, int)
if the key was not already handled.
Cancel this event when you successfully use the keyboard input to prevent other handlers from using the same input.GuiScreenEvent.KeyboardKeyPressedEvent.Post, GuiScreenEvent.KeyboardKeyPressedEvent.Pre
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 |
---|
Post(GuiScreen gui,
int keyCode,
int scanCode,
int modifiers) |
getKeyCode, getModifiers, getScanCode
getGui
public Post(GuiScreen gui, int keyCode, int scanCode, int modifiers)