createExplosion event

Discussion in 'Plugin Development' started by Nitnelave, Aug 21, 2011.

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

    Nitnelave

    Hello all!
    Does anyone know what event does the createExplosion method trigger?
     
  2. Offline

    Taco

    I would imagine onEntityExplode.
     
  3. Offline

    Nitnelave

    Well, there's no entity, is there?
     
  4. Offline

    nisovin

    I think it will pass null.
     
  5. Offline

    iKrazy

    Ooo! I got this!

    Code:
    @Override
                                        public void run(){
                                            player.getWorld().createExplosion(player.getLocation(), RADIUS);
     
  6. Offline

    DrBowe

    @iKrazy
    No you don't. He was asking what event it triggers, not how to create an explosion :p

    Honestly, I don't think it passes an event at all...seeing as many explosion-blocker plugins do not catch the method.
     
  7. Offline

    iKrazy

    ;( I guess I don't.. How mean crushing my spirit you are.
     
  8. Offline

    DrBowe

    But I added the :p to make it nicer ;)
     
  9. Offline

    iKrazy

    True, but the :p doesn't help mend my broken spirit now does it? ;)
     
  10. Offline

    Nitnelave

    Ok, thanks everybody. Could someone add the event maybe?
     
Thread Status:
Not open for further replies.

Share This Page