public enum EnumCreatureType extends java.lang.Enum<EnumCreatureType>
Enum Constant and Description |
---|
creature |
monster |
waterCreature |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getCreatureClass() |
Material |
getCreatureMaterial() |
int |
getMaxNumberOfCreature() |
boolean |
getPeacefulCreature() |
static EnumCreatureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumCreatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumCreatureType monster
public static final EnumCreatureType creature
public static final EnumCreatureType waterCreature
public static EnumCreatureType[] values()
for (EnumCreatureType c : EnumCreatureType.values()) System.out.println(c);
public static EnumCreatureType 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 java.lang.Class getCreatureClass()
public int getMaxNumberOfCreature()
public Material getCreatureMaterial()
public boolean getPeacefulCreature()