Removing Spectral Arrow Glow

Discussion in 'Spigot Plugin Development' started by ChefJava, May 15, 2016.

  1. Greetings,

    I am curious and agitated in knowing how I can remove the glow when an entity is damaged and or fired with a spectral arrow. I am fully aware and capable of summoning the arrow and manipulating it. However, I am clueless of how I would go about cancelling the effect it gives off to an entity.

    Would there be some kind of NMS usage, or can the Bukkit-API handle this itself? Though this may be of little use, I am spawning the arrow using Bukkit methods.

    Code (Text):

    Arrow arrow = (Arrow) player.getLocation().getWorld().spawnEntity(location, EntityType.SPECTRAL_ARROW);
     
    Additionally, I have attempted at fetching entities in the world or radius of a specific location and applying #setGlowing, but no expected result.
     
  2. Isn't glowing just a potion effect?
     
  3. I was just looking through some JavaDocs on my phone. It looks like it is, I'll attempt at removing any related applied effects when the arrow is fired. Could be a solution.