Class EntitiesUnloadEvent


public class EntitiesUnloadEvent extends ChunkEvent
Called when entities are unloaded. The provided chunk may or may not be loaded.
  • Constructor Details Link icon

    • EntitiesUnloadEvent Link icon

      public EntitiesUnloadEvent(@NotNull Chunk chunk, @NotNull List<Entity> entities)
  • Method Details Link icon

    • getEntities Link icon

      @NotNull public List<Entity> getEntities()
      Get the entities which are being unloaded.
      Returns:
      unmodifiable list of unloaded entities.
    • getHandlers Link icon

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList Link icon

      @NotNull public static HandlerList getHandlerList()