Class SpawnerDropAllEvent
java.lang.Object
org.bukkit.event.Event
github.nighter.smartspawner.api.events.SpawnerDropAllEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class SpawnerDropAllEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Called when all items are dropped from a spawner's storage.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionSpawnerDropAllEvent(org.bukkit.entity.Player player, org.bukkit.Location location, List<org.bukkit.inventory.ItemStack> items) Creates a new spawner drop all event. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronousMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
SpawnerDropAllEvent
public SpawnerDropAllEvent(org.bukkit.entity.Player player, org.bukkit.Location location, List<org.bukkit.inventory.ItemStack> items) Creates a new spawner drop all event.- Parameters:
player- the player dropping the itemslocation- the location of the spawneritems- the items being dropped
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-