Wiki 9Minecraft Wiki 9Minecraft
Dawn Api Wiki › Guides › Set up a custom explosion for mapmaking

Set up a custom explosion for mapmaking

Using Custom TNT

Custom TNT entities let you create explosions with specific properties for your map. Unlike vanilla TNT, you can control both the explosion strength and fuse time.

Creating and configuring

Summon a custom TNT entity using:

`

/summon dawn:custom_tnt ~ ~ ~

`

You can customize it with NBT data:

  • Set which block it displays by modifying its block state
  • Adjust Fuse to control how long before detonation
  • Modify explosion power to make it stronger or weaker than vanilla TNT

For example, you might create a decorative TNT that looks like a specific block but explodes with custom force. This is useful for puzzle maps, adventure maps, or custom challenge arenas where you need precise control over explosion behavior.

Tips

Test your explosion strength in a safe area first. Remember that custom TNT still follows normal explosion physics—it will destroy blocks and damage entities based on its configured power level. You can chain multiple custom TNT entities together for complex explosion sequences.