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.
Functional interface for listening to entity spawned events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidspawned(EntitySpawnedEvent event) Invoked when an entity is spawned.
-
Method Details
-
spawned
Invoked when an entity is spawned.- Parameters:
event- The event that contains information about the spawned entity.
-