Class PlayerEvent.StopTracking

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
PlayerEvent

public static class PlayerEvent.StopTracking extends PlayerEvent
Fired when an Entity is stopped to be "tracked" by this player (the player no longer receives updates about this entity, e.g. motion).
  • Field Details

    • target

      private final Entity target
  • Constructor Details

  • Method Details

    • getTarget

      public Entity getTarget()
      The Entity no longer being tracked.