@Environment(value=CLIENT) public enum CloudRenderMode extends Enum<CloudRenderMode>
Modifier and Type | Field and Description |
---|---|
private int |
id |
private String |
translationKey |
private static CloudRenderMode[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static CloudRenderMode |
byId(int id) |
int |
getId() |
String |
getTranslationKey() |
static CloudRenderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudRenderMode OFF
public static final CloudRenderMode FAST
public static final CloudRenderMode FANCY
private static final CloudRenderMode[] VALUES
private final int id
private final String translationKey
public static CloudRenderMode[] values()
for (CloudRenderMode c : CloudRenderMode.values()) System.out.println(c);
public static CloudRenderMode 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 getId()
public String getTranslationKey()
public static CloudRenderMode byId(int id)