Setting size of explosion?

Discussion in 'Plugin Development' started by BucketOfFun, Oct 6, 2012.

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

    BucketOfFun

    Is it possible to set the size of explosion? For example, if I wanted to set the size of a TNT explosion, would I be able to set it to 3 blocks deep and 1 block wide, or 3 blocks wide and 10 blocks deep?
     
  2. Offline

    dralletje

    I guess Its only possible to set one size, which will then be depth, width and height.
     
  3. Offline

    willeb96

    You can change the radius, listen for the explosion event and check if the source of it was a TNT.
    Now you can event.setCanceled(true); and then create a new explosion at the same location with world.createEcplosion();
     
  4. Offline

    BucketOfFun

    dralletje
    So there's no way to do it?
    willeb96
    createExplosion() Is one number that sets the range of a normal explosion.
     
  5. Offline

    willeb96

    Yes.
     
Thread Status:
Not open for further replies.

Share This Page