public static enum GameRules.class_5198 extends Enum<GameRules.class_5198>
| Enum Constant and Description |
|---|
CHAT |
DROPS |
MISC |
MOBS |
PLAYER |
SPAWNING |
UPDATES |
| Modifier and Type | Field and Description |
|---|---|
private String |
field_24101 |
| Modifier and Type | Method and Description |
|---|---|
String |
method_27328() |
static GameRules.class_5198 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameRules.class_5198[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameRules.class_5198 PLAYER
public static final GameRules.class_5198 MOBS
public static final GameRules.class_5198 SPAWNING
public static final GameRules.class_5198 DROPS
public static final GameRules.class_5198 UPDATES
public static final GameRules.class_5198 CHAT
public static final GameRules.class_5198 MISC
private final String field_24101
public static GameRules.class_5198[] values()
for (GameRules.class_5198 c : GameRules.class_5198.values()) System.out.println(c);
public static GameRules.class_5198 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 null@Environment(value=CLIENT) public String method_27328()