Unaffected XP orbs

Unaffected XP orbs - Silhouette of Tree Near Body of Water during Golden Hour

I am making a adventure map in which I am using the new 1.10 tag "NoGravity" on XP orbs to make them float around at night on a grassy plain, but they can be affected by a players presence and are pulled towards them, is there any way to make them unaffected by nearby players but still move naturally and be pickup-able?






Pictures about "Unaffected XP orbs"

Unaffected XP orbs - View of Cityscape
Unaffected XP orbs - Silhouette Of Mountains
Unaffected XP orbs - Lake and Mountain



How long does it take for XP orbs to Despawn?

After 6000 ticks (5 minutes) the orb is destroyed. If set to -32768, the Age will not increase, thus the XP orb will not automatically despawn.

How do you turn off XP orbs in Minecraft?

I removed all XP farms and sources of XP orbs. I then typed /kill @e[type=xp_orb] , which killed all XP orbs and reduced the lag for a temporary.



Minecraft but there are Custom XP Orbs




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Pixabay, Aleksandar Pasaric, Simon Berger, James Wheeler