Cancellable
public class PreSpawnerSpawnEvent extends PreCreatureSpawnEvent
Event.Result
Constructor | Description |
---|---|
PreSpawnerSpawnEvent(Location location,
EntityType type,
Location spawnerLocation) |
Modifier and Type | Method | Description |
---|---|---|
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 Location location, @NotNull EntityType type, @NotNull Location spawnerLocation)
@NotNull public Location getSpawnerLocation()
Copyright © 2020. All rights reserved.