Class EntitiesLoadEvent

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

    • EntitiesLoadEvent

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

    • getEntities

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

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

      @NotNull public static HandlerList getHandlerList()