public enum SpawnType extends Enum<SpawnType>
Enum Constant and Description |
---|
BREEDING |
BUCKET |
CHUNK_GENERATION |
COMMAND |
CONVERSION |
DISPENSER |
EVENT |
JOCKEY |
MOB_SUMMONED |
NATURAL |
PATROL |
REINFORCEMENT |
SPAWN_EGG |
SPAWNER |
STRUCTURE |
TRIGGERED |
Modifier and Type | Method and Description |
---|---|
static SpawnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpawnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpawnType NATURAL
public static final SpawnType CHUNK_GENERATION
public static final SpawnType SPAWNER
public static final SpawnType STRUCTURE
public static final SpawnType BREEDING
public static final SpawnType MOB_SUMMONED
public static final SpawnType JOCKEY
public static final SpawnType EVENT
public static final SpawnType CONVERSION
public static final SpawnType REINFORCEMENT
public static final SpawnType TRIGGERED
public static final SpawnType BUCKET
public static final SpawnType SPAWN_EGG
public static final SpawnType COMMAND
public static final SpawnType DISPENSER
public static final SpawnType PATROL
public static SpawnType[] values()
for (SpawnType c : SpawnType.values()) System.out.println(c);
public static SpawnType 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