public enum UiProfile extends Enum<UiProfile>
| Modifier and Type | Method and Description |
|---|---|
static UiProfile |
getById(int id)
Get the UiProfile instance from the identifier.
|
static UiProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UiProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UiProfile CLASSIC
public static final UiProfile POCKET
public static UiProfile[] values()
for (UiProfile c : UiProfile.values()) System.out.println(c);
public static UiProfile 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 nullCopyright © 2021 GeyserMC. All rights reserved.