Despawn particles?

Discussion in 'Plugin Development' started by mcat95, Jun 1, 2014.

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

    mcat95

    Hello, I want to know if it's possible to "despawn" a particle sent to the client. I want to do some moving animations with particles and I don't want to wait for the effect to finish.

    Thanks, Mcat.
     
  2. Offline

    NathanWolf

    Not that I'm aware of, though very interesting question, I'd like to know too!

    I'm curious though, which particle effects are you using? Not many of them last very long...
     
  3. Offline

    qlimax5000

    mcat95
    You cannot despawn particles, however, old ones get removed if there is >= 4000 other ones so if you wanna "clear" all particles spawn 4000 particles over/above/behind the player.
     
    NathanWolf likes this.
  4. Offline

    Kobting

    mcat95

    If you were to make a custom texture pack and take a particle texture that you wouldn't need, then make it a blank texture and put it in the same spot as the current particles to make it cover them up.
     
  5. Offline

    mcat95

    I already thought of creating more particles, but that means lag and it's not easy to control :p

    I am using fire particles, and the effect is really annoying
     
  6. Offline

    qlimax5000

    mcat95
    I'm not sure if this counts but the "bubble" effect only renders underwater. I don't know if it counts towards the particle amount if it isn't rendered, but if it does, spawning 4000 of those might not be too laggy and won't even be visible.
     
  7. Offline

    teej107

    Are you doing this so the server won't lag? or the client? Is this even about lag?
     
  8. Offline

    mcat95

    I don't want to lag the client spawning 5000 particles.
    I'll try the underwater trick, that's a good one ;D
     
Thread Status:
Not open for further replies.

Share This Page