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(net.minecraft.entity.Entity trackedEntity, net.minecraft.server.network.ServerPlayerEntity player)
    Called after an entity stops getting tracked by a player.
  • Method Details

    • onStopTracking

      void onStopTracking(net.minecraft.entity.Entity trackedEntity, net.minecraft.server.network.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