Interface EntityTrackingEvents.StopTracking

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.

@FunctionalInterface public static interface EntityTrackingEvents.StopTracking
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onStopTracking(Entity trackedEntity, ServerPlayerEntity player)
    Called after an entity stops getting tracked by a player.
  • Method Details

    • onStopTracking

      void onStopTracking(Entity trackedEntity, ServerPlayerEntity player)
      Called after an entity stops getting tracked by a player.
      Parameters:
      trackedEntity - the entity that is no longer being tracked
      player - the player that is no longer tracking the entity