public static enum ItemUseBypass.WhenBypass extends Enum<ItemUseBypass.WhenBypass>
Enum Constant and Description |
---|
ALWAYS |
BELOW |
LEFT_CLICK |
LOOKING |
RIGHT_CLICK |
UNKNOW |
Modifier and Type | Method and Description |
---|---|
static ItemUseBypass.WhenBypass |
getWhenBypass(String when) |
boolean |
isClick() |
static ItemUseBypass.WhenBypass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemUseBypass.WhenBypass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemUseBypass.WhenBypass ALWAYS
public static final ItemUseBypass.WhenBypass RIGHT_CLICK
public static final ItemUseBypass.WhenBypass LEFT_CLICK
public static final ItemUseBypass.WhenBypass LOOKING
public static final ItemUseBypass.WhenBypass BELOW
public static final ItemUseBypass.WhenBypass UNKNOW
public static ItemUseBypass.WhenBypass[] values()
for (ItemUseBypass.WhenBypass c : ItemUseBypass.WhenBypass.values()) System.out.println(c);
public static ItemUseBypass.WhenBypass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ItemUseBypass.WhenBypass getWhenBypass(String when)
public boolean isClick()