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