Particle rain.

Discussion in 'Plugin Development' started by NetherSky, Jan 1, 2015.

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

    NetherSky

    How to make particle rain ?
     
  2. Offline

    mine-care

    Explain what you wNt to do further. If I understood well u want to make particles fall from the sky as large servers feature.
    I have such a plugin on my server, the way I did It is by a repeating task that every 2 sec would loop through all players and send them a particle packet with fireworksSpark type and a offset of x:20 y:20 z:20 :) good luck
     
  3. Offline

    Plugers11

    @NetherSky
    U can do some particles, create a hashmap for all, check position, if it's done[particle], save position, do particles from position last time.
     
  4. Offline

    NetherSky

    Can you give me code or plugin please! I really need it please!
    Can you give me
    example
     
  5. Offline

    mine-care

    @NetherSky We wont spoonfeed ya :( i think i was detailed enouigh above, if there are any unclarities please leme know!
     
  6. Offline

    NetherSky

    Please i really need it please!
     
  7. Offline

    moo3oo3oo3

    Thi
    YOu could create the rain this way, but you going to have to loop it. Warning: uses spigot
    Code:
    player.getWorld().spigot().playEffect(player.getLocation(), Effect.WATERDRIP, 0, 0, (float) 20, (float) 20, (float) 20, (float) 1, 100, 100);
     
    blue1 and NetherSky like this.
Thread Status:
Not open for further replies.

Share This Page