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