public static enum EntityLiving.SpawnPlacementType extends java.lang.Enum<EntityLiving.SpawnPlacementType>
Modifier and Type | Method and Description |
---|---|
static EntityLiving.SpawnPlacementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityLiving.SpawnPlacementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityLiving.SpawnPlacementType ON_GROUND
public static final EntityLiving.SpawnPlacementType IN_AIR
public static final EntityLiving.SpawnPlacementType IN_WATER
public static EntityLiving.SpawnPlacementType[] values()
for (EntityLiving.SpawnPlacementType c : EntityLiving.SpawnPlacementType.values()) System.out.println(c);
public static EntityLiving.SpawnPlacementType 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