Package org.bukkit.event.world
Class EntitiesUnloadEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
org.bukkit.event.world.ChunkEvent
org.bukkit.event.world.EntitiesUnloadEvent
Called when entities are unloaded.
The provided chunk may or may not be loaded.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.world.ChunkEvent
chunk
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the entities which are being unloaded.static @NotNull HandlerList
Methods inherited from class org.bukkit.event.world.ChunkEvent
getChunk
Methods inherited from class org.bukkit.event.world.WorldEvent
getWorld
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntitiesUnloadEvent
-
-
Method Details
-
getEntities
Get the entities which are being unloaded.- Returns:
- unmodifiable list of unloaded entities.
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-