Class CustomEntityDeathEvent
java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
Called when an ItemsAdder custom entity dies.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Method Summary
Modifier and TypeMethodDescriptionGets the base Bukkit entity.static @NotNull HandlerList@NotNull HandlerList@Nullable PlayerGets the player that killed this entity.Gets the custom entity namespaced id.Methods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Method Details
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-
getNamespacedID
-
getEntity
-
getKiller
Gets the player that killed this entity.- Returns:
- the killer, or null if the entity was not killed by a player.
-