public static enum IEntitySpawner.SpawnMode extends java.lang.Enum<IEntitySpawner.SpawnMode>
| Enum Constant and Description |
|---|
ALLSPAWNPOINTS
Spawns the amount of mobs for all the spawnpoints available.
|
ONERANDOMSPAWNPOINT
Spawns the amount of mobs on one random spawnpoint.
|
RANDOMSPAWNPOINTS
Spawns the amount of mobs, distributed to random spawnpoints.
|
| Modifier and Type | Method and Description |
|---|---|
static IEntitySpawner.SpawnMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IEntitySpawner.SpawnMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IEntitySpawner.SpawnMode ALLSPAWNPOINTS
public static final IEntitySpawner.SpawnMode ONERANDOMSPAWNPOINT
public static final IEntitySpawner.SpawnMode RANDOMSPAWNPOINTS
public static IEntitySpawner.SpawnMode[] values()
for (IEntitySpawner.SpawnMode c : IEntitySpawner.SpawnMode.values()) System.out.println(c);
public static IEntitySpawner.SpawnMode 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