Uses of Class
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason
| Package | Description |
|---|---|
| org.bukkit.event.entity |
-
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return CreatureSpawnEvent.SpawnReason Modifier and Type Method Description CreatureSpawnEvent.SpawnReasonCreatureSpawnEvent. getSpawnReason()Gets the reason for why the creature is being spawned.static CreatureSpawnEvent.SpawnReasonCreatureSpawnEvent.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.Constructors in org.bukkit.event.entity with parameters of type CreatureSpawnEvent.SpawnReason Constructor Description CreatureSpawnEvent(Entity spawnee, CreatureType type, Location loc, CreatureSpawnEvent.SpawnReason reason)Deprecated.CreatureSpawnEvent(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason)