Invisible entity

Discussion in 'Plugin Development' started by Welite, May 31, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Welite

    Hi I need to create invisible entity that will folow player but I cannot use potion of invisibility to the entity because the entity needs to have other potion. Is there any easy way or tutorial how to do it ? I was trying to use protocol lib but when I hide the entity with protocol lib the particles potion effects are also invisible and I need to see them.
     
  2. Welite entities can have multiple potion effects ?...
     
  3. Offline

    Welite

    Someone_Like_You Yes can, but when you use invisibility to some entity it will override the effect from the potion...And I need for example regen effect but when I use invisibility it destroys the regen effect.
     
  4. Offline

    iTornado1234

    Welite I'm sure it won't do that.
     
    Someone_Like_You likes this.
  5. Welite potion types wont override each other.
    Za ninja
     
  6. Offline

    Welite

    I have tested it and works only effect from the first potion.
     
  7. Offline

    Welite

    So no idea nobody ?
     
  8. You're using player.addPotionEffect(PotionEffectType, duration in ticks, amplifier); Correct?
     
Thread Status:
Not open for further replies.

Share This Page