Options for Dimension.createExplosion.
Interface in @minecraft/server
Options for Dimension.createExplosion.
import type { ExplosionOptions } from '@minecraft/server';Properties
Section titled “Properties”allowUnderwater
Section titled “allowUnderwater”optional
allowUnderwater?: boolean;Whether water and lava let it through to break blocks, where they’d stop it.
breaksBlocks
Section titled “breaksBlocks”optional
breaksBlocks?: boolean;Default true; blocks break only as mobGriefing allows either way.
causesFire
Section titled “causesFire”optional
causesFire?: boolean;Whether a third of the blocks it breaks catch fire.
source
Section titled “source”optional
source?: Entity;What set it off, for the explosion events.
Types