Optional allowWhether parts of the explosion also impact underwater.
Optional breaksWhether the explosion will break blocks within the blast radius.
Optional causesIf true, the explosion is accompanied by fires within or near the blast radius.
Optional sourceOptional source of the explosion.
Additional configuration options for the createExplosion method.
Example
createNoBlockExplosion.ts
Example
createExplosions.ts