public enum EnumKeybinds extends java.lang.Enum<EnumKeybinds>
Enum Constant and Description |
---|
Attack |
Back |
Crouch |
Forward |
Jump |
Left |
Right |
Sprint |
Modifier and Type | Method and Description |
---|---|
boolean |
breaksHover() |
static EnumKeybinds |
getMovement(int index) |
static boolean |
hasMovement(java.lang.String name) |
static EnumKeybinds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumKeybinds[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumKeybinds Jump
public static final EnumKeybinds Crouch
public static final EnumKeybinds Back
public static final EnumKeybinds Forward
public static final EnumKeybinds Left
public static final EnumKeybinds Right
public static final EnumKeybinds Sprint
public static final EnumKeybinds Attack
public static EnumKeybinds[] values()
for (EnumKeybinds c : EnumKeybinds.values()) System.out.println(c);
public static EnumKeybinds 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 EnumKeybinds getMovement(int index)
public static boolean hasMovement(java.lang.String name)
public boolean breaksHover()