Class PlayerEvent.StartTracking

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

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

    • target

      private final Entity target
  • Constructor Details

    • StartTracking

      public StartTracking(Player player, Entity target)
  • Method Details

    • getTarget

      public Entity getTarget()
      The Entity now being tracked.