Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5264

Experience Orbs loosing targets

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 1.14.4-R0.1-SNAPSHOT
    • Yes

      I don't think it's possible to detect if an experience orb is loosing its target.

      I tested when a player is close to an entity orb, the orb will target the player. If the player now goes away a distance then the orb will loose it target but it's impossible to detect this. 

      I believe we can use https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/EntityTargetEvent.TargetReason.html#FORGOT_TARGET for this. What do you think?

            Unassigned Unassigned
            hornta hornta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: