Additional configuration options for the Dimension.createExplosion method.

interface ExplosionOptions {
    allowUnderwater?: boolean;
    breaksBlocks?: boolean;
    causesFire?: boolean;
    source?: Entity;
}

Properties

allowUnderwater?: boolean

Whether parts of the explosion also impact underwater.

breaksBlocks?: boolean

Whether the explosion will break blocks within the blast radius.

causesFire?: boolean

If true, the explosion is accompanied by fires within or near the blast radius.

source?: Entity

Optional source of the explosion.