Cancellablepublic class PreSpawnerSpawnEvent extends PreCreatureSpawnEvent
Event.Result| Constructor | Description |
|---|---|
PreSpawnerSpawnEvent(@NotNull Location location,
@NotNull EntityType type,
@NotNull Location spawnerLocation) |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull Location |
getSpawnerLocation() |
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandlerList, getHandlers, getReason, getSpawnLocation, getType, isCancelled, setCancelled, setShouldAbortSpawn, shouldAbortSpawnpublic PreSpawnerSpawnEvent(@NotNull
@NotNull Location location,
@NotNull
@NotNull EntityType type,
@NotNull
@NotNull Location spawnerLocation)
@NotNull public @NotNull Location getSpawnerLocation()
Copyright © 2020. All rights reserved.