| Enum Constant and Description |
|---|
EXALTEDCRAFTING
Exalted Crafting key.
|
FART
Fart key.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_PREFIX
Prefix in the i18n file for keys.
|
net.minecraft.client.settings.KeyBinding |
keyBinding
KeyBinding for the custom key. |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyHandler(KeyHandler handler)
Binds a
KeyHandler to the specific instance of the key. |
static Keys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Keys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Keys FART
public static final Keys EXALTEDCRAFTING
public static final java.lang.String KEY_PREFIX
public net.minecraft.client.settings.KeyBinding keyBinding
KeyBinding for the custom key.public static Keys[] values()
for (Keys c : Keys.values()) System.out.println(c);
public static Keys 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 void addKeyHandler(KeyHandler handler)
KeyHandler to the specific instance of the key.
Whenever this key is pressed, KeyHandler.onKeyPressed(KeyBinding)
will be called with the KeyBinding linked to this specific key.handler - KeyHandler that will handle presses of this specific key.