Uses of Enum Class
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason
Packages that use CreatureSpawnEvent.SpawnReason
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit
Methods in org.bukkit with parameters of type CreatureSpawnEvent.SpawnReasonModifier and TypeMethodDescription<T extends LivingEntity>
TWorld.spawn(Location location, Class<T> clazz, CreatureSpawnEvent.SpawnReason spawnReason, boolean randomizeData, Consumer<? super T> function) Creates a new entity at the givenLocationwith the supplied function run before the entity is added to the world. -
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit.event.entity
Subclasses with type arguments of type CreatureSpawnEvent.SpawnReason in org.bukkit.event.entityModifier and TypeClassDescriptionstatic enumAn enum to specify the type of spawningMethods in org.bukkit.event.entity that return CreatureSpawnEvent.SpawnReasonModifier and TypeMethodDescriptionCreatureSpawnEvent.getSpawnReason()Gets the reason for why the creature is being spawned.Returns the enum constant of this class with the specified name.static CreatureSpawnEvent.SpawnReason[]CreatureSpawnEvent.SpawnReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.bukkit.event.entity with parameters of type CreatureSpawnEvent.SpawnReasonModifierConstructorDescriptionCreatureSpawnEvent(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason)