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, shouldAbortSpawncallEvent, getEventName, isAsynchronousCopyright © 2021. All rights reserved.