Interface ExplosionEvent.Detonate

Enclosing interface:
ExplosionEvent

public static interface ExplosionEvent.Detonate
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    explode(net.minecraft.world.level.Level level, net.minecraft.world.level.Explosion explosion, List<net.minecraft.world.entity.Entity> affectedEntities)
    Invoked when an explosion is detonating.
  • Method Details

    • explode

      void explode(net.minecraft.world.level.Level level, net.minecraft.world.level.Explosion explosion, List<net.minecraft.world.entity.Entity> affectedEntities)
      Invoked when an explosion is detonating. Equivalent to Forge's ExplosionEvent.Detonate event.
      Parameters:
      level - The level the explosion happens in.
      explosion - The explosion happening.
      affectedEntities - The entities affected by the explosion.