java.io.Serializable
, java.lang.Comparable<CatalogLibrary.CataSpawn>
public static enum CatalogLibrary.CataSpawn extends java.lang.Enum<CatalogLibrary.CataSpawn>
Enum Constant | Description |
---|---|
DROP |
Item spawns only on corpses at death
|
LIVE |
Item spawns with mob as equipment
|
NONE |
No drop or spawning rules
|
ROOM |
Item or mob spawns randomly in a room
|
Modifier and Type | Method | Description |
---|---|---|
static CatalogLibrary.CataSpawn |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CatalogLibrary.CataSpawn[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogLibrary.CataSpawn NONE
public static final CatalogLibrary.CataSpawn LIVE
public static final CatalogLibrary.CataSpawn DROP
public static final CatalogLibrary.CataSpawn ROOM
public static CatalogLibrary.CataSpawn[] values()
for (CatalogLibrary.CataSpawn c : CatalogLibrary.CataSpawn.values()) System.out.println(c);
public static CatalogLibrary.CataSpawn 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