Explosion Radius | AKA FireBall Radius

Discussion in 'Plugin Development' started by Niknea, Mar 28, 2014.

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

    Niknea

    Hey guys, I'm trying to figure out how I can get the players near the explosion ( more like in the explosion ) where a fireball hit. Thank you very much!

    Also, how would I shoot a fireball out of a stick, I know this part, but how would I make it break no blocks when it hits the ground. Thanks again.
     
  2. Offline

    GotRice

    fireball.getNearbyEntities(radius,radius,radius); will return all the nearby entities in radius near the fireball.
     
  3. Offline

    Niknea

    GotRice But how can I get where the fireball landed? And what should I declare fireball as?
     
  4. Offline

    GotRice

    Niknea I would try EntityExplodeEvent? I'm not completely sure, but I think fireballs explode when they land.
     
Thread Status:
Not open for further replies.

Share This Page