Play Explosion Sound

Discussion in 'Plugin Development' started by Woutske, Apr 8, 2011.

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

    Woutske

    Hello everyone,

    Me and my friend are making a plugin, but we have a problem. We want to make a explosion when a player does an specific action; a sort of nuke will explode.

    At the moment we are using this code:
    Code:
    Explosion e = new Explosion(world, null, x, y, z, radius);
    e.a();
    e.b();
    
    This works great, but it doesn't make any sound. Is there any way to fire the explosion sound Server-sided?
     
  2. world.createExplosion(location,0); // Zero strength explosion is one way to get the sound
     
Thread Status:
Not open for further replies.

Share This Page