| Package | Description |
|---|---|
| org.cloudburstmc.server.event.entity |
| Modifier and Type | Method and Description |
|---|---|
CreatureSpawnEvent.SpawnReason |
CreatureSpawnEvent.getReason() |
static CreatureSpawnEvent.SpawnReason |
CreatureSpawnEvent.SpawnReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreatureSpawnEvent.SpawnReason[] |
CreatureSpawnEvent.SpawnReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
CreatureSpawnEvent(EntityType<?> type,
Location location,
CreatureSpawnEvent.SpawnReason reason) |
Copyright © 2020. All rights reserved.