- Enclosing class:
EntityTrackingEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
Called before an entity starts getting tracked by a player.
-
Method Details
-
onStartTracking
Called before an entity starts getting tracked by a player.
- Parameters:
trackedEntity
- the entity that will be tracked
player
- the player that will track the entity