Cancellablepublic class PhantomPreSpawnEvent extends PreCreatureSpawnEvent
Event.Result| Constructor | Description |
|---|---|
PhantomPreSpawnEvent(Location location,
Entity entity,
CreatureSpawnEvent.SpawnReason reason) |
| Modifier and Type | Method | Description |
|---|---|---|
Entity |
getSpawningEntity() |
Get the entity this phantom is spawning for
|
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandlerList, getHandlers, getReason, getSpawnLocation, getType, isCancelled, setCancelled, setShouldAbortSpawn, shouldAbortSpawnCopyright © 2020. All rights reserved.