public static enum PrimitiveSpawnShapeValue.SpawnSide extends Enum<PrimitiveSpawnShapeValue.SpawnSide>
Modifier and Type | Method and Description |
---|---|
static PrimitiveSpawnShapeValue.SpawnSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveSpawnShapeValue.SpawnSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveSpawnShapeValue.SpawnSide both
public static final PrimitiveSpawnShapeValue.SpawnSide top
public static final PrimitiveSpawnShapeValue.SpawnSide bottom
public static PrimitiveSpawnShapeValue.SpawnSide[] values()
for (PrimitiveSpawnShapeValue.SpawnSide c : PrimitiveSpawnShapeValue.SpawnSide.values()) System.out.println(c);
public static PrimitiveSpawnShapeValue.SpawnSide 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 nullCopyright © 2014. All rights reserved.