public enum GameRuleHandler extends java.lang.Enum<GameRuleHandler>
| Enum Constant and Description |
|---|
DINO_GROWTH |
DINO_METABOLISM |
KILL_HERD_OUTCAST |
PLANT_SPREADING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(net.minecraft.world.World world) |
int |
getInteger(net.minecraft.world.World world) |
static void |
register(net.minecraft.world.World world) |
static GameRuleHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameRuleHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameRuleHandler DINO_METABOLISM
public static final GameRuleHandler DINO_GROWTH
public static final GameRuleHandler PLANT_SPREADING
public static final GameRuleHandler KILL_HERD_OUTCAST
public static GameRuleHandler[] values()
for (GameRuleHandler c : GameRuleHandler.values()) System.out.println(c);
public static GameRuleHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean getBoolean(net.minecraft.world.World world)
public int getInteger(net.minecraft.world.World world)
public static void register(net.minecraft.world.World world)