Class EntitiesLoadEvent


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

    • EntitiesLoadEvent

      @Internal public EntitiesLoadEvent(@NotNull @NotNull Chunk chunk, @NotNull @NotNull List<Entity> entities)
  • Method Details

    • getEntities

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

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

      @NotNull public static @NotNull HandlerList getHandlerList()