@Environment(value=CLIENT) static enum LockButtonWidget.IconLocation extends Enum<LockButtonWidget.IconLocation>
Enum Constant and Description |
---|
LOCKED |
LOCKED_DISABLED |
LOCKED_HOVER |
UNLOCKED |
UNLOCKED_DISABLED |
UNLOCKED_HOVER |
Modifier and Type | Method and Description |
---|---|
int |
getU() |
int |
getV() |
static LockButtonWidget.IconLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockButtonWidget.IconLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockButtonWidget.IconLocation LOCKED
public static final LockButtonWidget.IconLocation LOCKED_HOVER
public static final LockButtonWidget.IconLocation LOCKED_DISABLED
public static final LockButtonWidget.IconLocation UNLOCKED
public static final LockButtonWidget.IconLocation UNLOCKED_HOVER
public static final LockButtonWidget.IconLocation UNLOCKED_DISABLED
public static LockButtonWidget.IconLocation[] values()
for (LockButtonWidget.IconLocation c : LockButtonWidget.IconLocation.values()) System.out.println(c);
public static LockButtonWidget.IconLocation 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 int getU()
public int getV()