Interface Spawnpoint.EntitySpawnedListener

All Superinterfaces:
EventListener
Enclosing class:
Spawnpoint
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Spawnpoint.EntitySpawnedListener extends EventListener
Functional interface for listening to entity spawned events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when an entity is spawned.
  • Method Details

    • spawned

      void spawned(EntitySpawnedEvent event)
      Invoked when an entity is spawned.
      Parameters:
      event - The event that contains information about the spawned entity.