Solved Play Potion Swirl Effect

Discussion in 'Plugin Development' started by xWatermelon, Aug 4, 2013.

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

    xWatermelon

    How can I spawn the potion swirl effects at a given location? I've seen a few threads on this, but they only showed how to play it on an entity, rather an a location. Is this possible to do without spawning an entity? Thanks :D
     
  2. Offline

    tommycake50

    why not just spawn an invisible bat or something.
     
  3. Offline

    Paper

    Yeah, I usually just use an XP orb for things like this because its quite small and unnoticeable.
     
  4. Offline

    xWatermelon

    That's what I have been using (spawning a bat with slowness 32), but since it was spawning about 50 of them in a line, I was wondering if there is another way. Anyone know if this is possible?
     
  5. Offline

    Stigosaurus

    xWatermelon I'm not exactly sure. Maybe use the mob spawn packet to false a mob spawn and then use the method to play the effect on the mob? I think codename_B coded something like this on hypixel's server.
     
  6. Offline

    xTrollxDudex

  7. Offline

    codename_B

    Do you mean the client side particles?
     
  8. Offline

    Stigosaurus

    In hypixel's TNT games (or whatever it's called), when you shoot, it will play a line of particles.
     
  9. Offline

    codename_B

    Yeah it's just that, a line of particles lol. Are you familiar with Vectors?
     
  10. Offline

    Stigosaurus

    Yeah, learning trig in my high school math class. Can't you also use player.getLineOfSight(null, dist)? ^.^
     
  11. Offline

    xWatermelon

    codename_B I'm pretty sure I know how to do it, I was just wondering how you did the effects. Did you spawn invisible bats?
     
  12. Offline

    codename_B

    No I use client side particles.
     
    xWatermelon likes this.
  13. Offline

    xWatermelon

    What particles are those? Are they the potion effect swirly things? If they are, I couldn't find any other way to spawn them without spawning an entity and applying the potion on the entity.
     
  14. Offline

    Eats_Rainbows

    I would love to do this too! Also codename_B how did you the rainbow particles on TnT Wizards?
     
  15. Offline

    codename_B

  16. Offline

    xWatermelon

  17. Offline

    chasechocolate

    codename_B and xWatermelon like this.
  18. Offline

    xWatermelon

  19. Offline

    chasechocolate

    xWatermelon likes this.
  20. Offline

    xWatermelon

  21. Offline

    TomFromCollege

    I'm pretty sure you can get almost the same effect from the SPELL Particle effect, but the Colored effects are harder to emulate.
     
  22. Offline

    chasechocolate

    Mob spell and mob spell ambient give rainbow particles already.
     
  23. Offline

    TomFromCollege

    chasechocolate

    Maybe so, but you can't pick and choose the color... Right?
     
  24. Offline

    chasechocolate

    Correct. The "mobSpell" particle are randomly-chosen rainbow potion swirls and the "mobSpellAmbient" is a more pale and not as colorful version of "mobSpell".
     
  25. Offline

    tekkitbird

    chasechocolate how can you make the swirls go in a straight line like a Beam like effect?
     
Thread Status:
Not open for further replies.

Share This Page