Package org.bukkit.event.entity
Class EntityRemoveEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityRemoveEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Represents various ways an entity gets removed.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()
Gets the cause why the entity got removed.static HandlerList
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
EntityRemoveEvent
-
-
Method Details
-
getCause
Gets the cause why the entity got removed.- Returns:
- the cause why the entity got removed
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-