public class InputHandler
extends java.lang.Object
| Constructor and Description |
|---|
InputHandler(JeiRuntime runtime,
IngredientListOverlay ingredientListOverlay) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleKeyEvent() |
boolean |
handleMouseEvent(net.minecraft.client.gui.GuiScreen guiScreen,
int mouseX,
int mouseY) |
boolean |
hasKeyboardFocus() |
static boolean |
isEnterKey(int keyCode) |
static boolean |
isInventoryCloseKey(int keyCode) |
static boolean |
isInventoryToggleKey(int keyCode) |
public InputHandler(JeiRuntime runtime, IngredientListOverlay ingredientListOverlay)
public boolean handleMouseEvent(net.minecraft.client.gui.GuiScreen guiScreen,
int mouseX,
int mouseY)
public boolean hasKeyboardFocus()
public boolean handleKeyEvent()
public static boolean isInventoryToggleKey(int keyCode)
public static boolean isInventoryCloseKey(int keyCode)
public static boolean isEnterKey(int keyCode)