| Enum Constant and Description |
|---|
ACTIVATE_TOOL |
TOOL_MENU |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
altDown() |
static boolean |
ctrlDown() |
int |
getBoundCode() |
java.lang.String |
getBoundKey() |
net.minecraft.client.settings.KeyBinding |
getKeybind() |
static boolean |
isKeyDown(int key) |
boolean |
isPressed() |
static void |
register() |
static boolean |
shiftDown() |
static AllKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllKeys TOOL_MENU
public static final AllKeys ACTIVATE_TOOL
public static AllKeys[] values()
for (AllKeys c : AllKeys.values()) System.out.println(c);
public static AllKeys valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void register()
public net.minecraft.client.settings.KeyBinding getKeybind()
public boolean isPressed()
public java.lang.String getBoundKey()
public int getBoundCode()
public static boolean isKeyDown(int key)
public static boolean ctrlDown()
public static boolean shiftDown()
public static boolean altDown()