- 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 stops getting tracked by a player.
-
Method Details
-
onStopTracking
Called before an entity stops getting tracked by a player.
- Parameters:
trackedEntity
- the entity that is about to stop being tracked
player
- the player that is about to stop tracking the entity