Uses of Enum Class
org.bukkit.event.entity.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
ModifierConstructorDescriptionPhantomPreSpawnEvent(@NotNull Location location, @NotNull Entity entity, CreatureSpawnEvent.SpawnReason reason)
PreCreatureSpawnEvent(@NotNull Location location, @NotNull EntityType type, CreatureSpawnEvent.SpawnReason reason)
-
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit
Modifier and TypeMethodDescription<T extends Entity>
TWorld.spawn(@NotNull Location location, @NotNull Class<T> clazz, @Nullable Consumer<T> function, CreatureSpawnEvent.SpawnReason reason)
default <T extends Entity>
TWorld.spawn(@NotNull Location location, @NotNull Class<T> clazz, CreatureSpawnEvent.SpawnReason reason)
default <T extends Entity>
TWorld.spawn(@NotNull Location location, @NotNull Class<T> clazz, CreatureSpawnEvent.SpawnReason reason, @Nullable Consumer<T> function)
World.spawnEntity(@NotNull Location loc, @NotNull EntityType type, CreatureSpawnEvent.SpawnReason reason)
World.spawnEntity(@NotNull Location loc, @NotNull EntityType type, CreatureSpawnEvent.SpawnReason reason, @Nullable Consumer<Entity> function)
-
Uses of CreatureSpawnEvent.SpawnReason in org.bukkit.entity
-
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 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.ModifierConstructorDescriptionCreatureSpawnEvent(@NotNull LivingEntity spawnee, @NotNull CreatureSpawnEvent.SpawnReason spawnReason)