Turn Primed tnt into mobs

Discussion in 'Plugin Development' started by MisterGiant, Sep 10, 2014.

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

    MisterGiant

    Hi There!
    Im busy coding a plugin for my server and i wanted to add the effect that when you place tnt it gets primed and when it explodes mobs fly out of it. Can someone help me?
     
  2. Offline

    octoshrimpy

    You want to listen for the time when primed TNT explodes, and then spawn mobs with a velocity away from the point of origin in random directions. You would probably want to cancel the actual explosion, so the mobs don't take damage from it, and instead summon the explosion animation at the point of origin.
     
Thread Status:
Not open for further replies.

Share This Page