Solved Fire trail Snowball

Discussion in 'Plugin Development' started by Fysick, Oct 5, 2017.

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

    Fysick

    Hey there!
    I want that if a Player trows a snowball, it leaves a fire Trail.
    Is this possible?
     
  2. Offline

    mine2012craft

    Do you mean a snowball that leaves behind fire particles, or the block, fire?
     
  3. Offline

    Fysick

    fire particles
     
  4. Offline

    mine2012craft

    Then yes, this is quite possible. First, you need to create a projectile launch listener. Next check if the projectile is a snowball, and if so, create a Bukkit runnable and inside the run method, get the snowball's location, and create a fire particle there every tick. I'd recommend you find a Particle Library for this (Darkblade's Particle Lib is a good one)
     
  5. Offline

    Fysick

    Thanks
     
Thread Status:
Not open for further replies.

Share This Page