Cancellable
public 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, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHandlerList, getHandlers, getReason, getSpawnLocation, getType, isCancelled, setCancelled, setShouldAbortSpawn, shouldAbortSpawn
public PreSpawnerSpawnEvent(@NotNull @NotNull Location location, @NotNull @NotNull EntityType type, @NotNull @NotNull Location spawnerLocation)
@NotNull public @NotNull Location getSpawnerLocation()
Copyright © 2020. All rights reserved.