| Package | Description | 
|---|---|
| com.destroystokyo.paper.event.entity | |
| org.bukkit.event.entity | 
| Modifier and Type | Method | Description | 
|---|---|---|
| CreatureSpawnEvent.SpawnReason | PreCreatureSpawnEvent. getReason() | 
| Constructor | Description | 
|---|---|
| PreCreatureSpawnEvent(Location location,
                     EntityType type,
                     CreatureSpawnEvent.SpawnReason reason) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| CreatureSpawnEvent.SpawnReason | CreatureSpawnEvent. getSpawnReason() | Gets the reason for why the creature is being spawned. | 
| static CreatureSpawnEvent.SpawnReason | CreatureSpawnEvent.SpawnReason. valueOf(java.lang.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 | Description | 
|---|---|
| CreatureSpawnEvent(LivingEntity spawnee,
                  CreatureSpawnEvent.SpawnReason spawnReason) | 
Copyright © 2018. All rights reserved.