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.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of CreatureSpawnEvent.SpawnReason in com.destroystokyo.paper.event.entity
Methods in com.destroystokyo.paper.event.entity that return CreatureSpawnEvent.SpawnReasonConstructors in com.destroystokyo.paper.event.entity with parameters of type CreatureSpawnEvent.SpawnReasonModifierConstructorDescriptionPhantomPreSpawnEvent(Location location, Entity entity, CreatureSpawnEvent.SpawnReason reason) PreCreatureSpawnEvent(Location location, EntityType type, CreatureSpawnEvent.SpawnReason reason) -
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit
Methods in org.bukkit with parameters of type CreatureSpawnEvent.SpawnReasonModifier and TypeMethodDescription<T extends Entity>
TRegionAccessor.spawn(@NotNull Location location, @NotNull Class<T> clazz, @Nullable Consumer<? super T> function, @NotNull CreatureSpawnEvent.SpawnReason reason) default <T extends Entity>
TRegionAccessor.spawn(@NotNull Location location, @NotNull Class<T> clazz, @NotNull CreatureSpawnEvent.SpawnReason reason) default <T extends Entity>
TRegionAccessor.spawn(@NotNull Location location, @NotNull Class<T> clazz, @NotNull CreatureSpawnEvent.SpawnReason reason, @Nullable Consumer<? super T> function) <T extends LivingEntity>
TWorld.spawn(@NotNull Location location, @NotNull Class<T> clazz, CreatureSpawnEvent.SpawnReason spawnReason, boolean randomizeData, @Nullable Consumer<? super T> function) Creates a new entity at the givenLocationwith the supplied function run before the entity is added to the world.RegionAccessor.spawnEntity(@NotNull Location loc, @NotNull EntityType type, @NotNull CreatureSpawnEvent.SpawnReason reason) RegionAccessor.spawnEntity(@NotNull Location loc, @NotNull EntityType type, @NotNull CreatureSpawnEvent.SpawnReason reason, @Nullable Consumer<? super Entity> function) -
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit.entity
Methods in org.bukkit.entity that return CreatureSpawnEvent.SpawnReasonMethods in org.bukkit.entity with parameters of type CreatureSpawnEvent.SpawnReasonModifier and TypeMethodDescriptionbooleanEntity.spawnAt(@NotNull Location location, CreatureSpawnEvent.SpawnReason reason) Spawns the entity in the world at the givenLocationwith the reason given. -
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(@NotNull LivingEntity spawnee, @NotNull CreatureSpawnEvent.SpawnReason spawnReason)