log('Creating an explosion of radius 15 that does not break blocks.'); targetLocation.dimension.createExplosion(explodeNoBlocksLoc, 15, { breaksBlocks:false }); }
log('Creating an explosion of radius 10 that can go underwater.'); targetLocation.dimension.createExplosion(belowWaterLoc, 10, { allowUnderwater:true }); }
Additional configuration options for the Dimension.createExplosion method.
Example: createNoBlockExplosion.ts
Example: createExplosions.ts