Uses of Enum
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason
Package
Description
-
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit.event.entity
Modifier and TypeMethodDescriptionCreatureSpawnEvent.getSpawnReason()
Gets the reason for why the creature is being spawned.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.ModifierConstructorDescriptionCreatureSpawnEvent(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason)