public class PhantomPreSpawnEvent extends PreCreatureSpawnEvent
Event.Result
Constructor and Description |
---|
PhantomPreSpawnEvent(@NotNull Location location,
@NotNull Entity entity,
CreatureSpawnEvent.SpawnReason reason) |
Modifier and Type | Method and Description |
---|---|
@Nullable Entity |
getSpawningEntity()
Get the entity this phantom is spawning for
|
getHandlerList, getHandlers, getReason, getSpawnLocation, getType, isCancelled, setCancelled, setShouldAbortSpawn, shouldAbortSpawn
callEvent, getEventName, isAsynchronous
Copyright © 2021. All rights reserved.