Thermonuclear Detonation

Build a custom hazard warhead that counts down and unleashes a rising mushroom cloud using interpolated block displays and expanding shockwave rings.

Java EditionHolograms & Display EntitiesHard21 commandsTested on a real 26.2 & 26.3 server
A rising mushroom cloud made of magma and honey block displays expands at night. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksFireTechnologyOrangeYellowRedCinematicMap MakingBlock displaysText displaysSmooth animation (interpolation)Sounds21+ commands

This command creation simulates a miniature thermonuclear warhead right in your world. A custom hazard device constructed from block displays sits at the center of the stage, beeping with an accelerating red strobe as its countdown timer approaches zero.

When the warhead detonates, a blinding flash clears the device and launches a rising mushroom cloud made of smoothly scaling magma and honey block displays. Expanding fire shockwaves race across the ground while billowing ash and rising thermal rings complete the explosion.

1. Setup - type these once 7 commands

  1. /scoreboard objectives add c9_time dummy
  2. /scoreboard objectives add c9_ring dummy
  3. /summon marker ~ ~ ~ {Tags:["c9_nuke","c9_ctrl"]}
  4. /scoreboard players set @e[tag=c9_ctrl] c9_time 0
  5. /summon block_display ~ ~ ~ {Tags:["c9_nuke","c9_bomb"],block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,1.2f,0.8f]}}
  6. /summon block_display ~ ~ ~ {Tags:["c9_nuke","c9_bomb"],block_state:{Name:"minecraft:redstone_block"},Glow:1b,glow_color_override:16711680,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.25f,1.2f,-0.25f],scale:[0.5f,0.3f,0.5f]}}
  7. /summon text_display ~ ~2.1 ~ {Tags:["c9_nuke","c9_label"],billboard:"center",background:1073741824,text:{"text":"⚠ ARMED: 3.0s ⚠","color":"red","bold":true},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.6f,1.6f,1.6f]}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_ctrl] c9_time 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 1..60 run particle dust{color:[1.0,0.1,0.0],scale:2.0} ~ ~1.4 ~ 0.25 0.25 0.25 0 4 force
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 20 run data modify entity @e[tag=c9_label,limit=1] text set value {"text":"⚠ ARMED: 2.0s ⚠","color":"gold","bold":true}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 40 run data modify entity @e[tag=c9_label,limit=1] text set value {"text":"⚠ ARMED: 1.0s ⚠","color":"yellow","bold":true}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 1..60 if score @e[tag=c9_ctrl,limit=1] c9_time matches ..59 run playsound minecraft:block.note_block.hat master @a ~ ~ ~ 0.5 2.0
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run kill @e[tag=c9_bomb]
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run kill @e[tag=c9_label]
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run playsound minecraft:entity.generic.explode master @a ~ ~ ~ 4.0 0.5
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run summon block_display ~ ~ ~ {Tags:["c9_nuke","c9_stem"],block_state:{Name:"minecraft:magma_block"},brightness:{sky:15,block:15},Glow:1b,glow_color_override:16744448,start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,0f,-0.5f],scale:[1f,1f,1f]}}
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run summon block_display ~ ~ ~ {Tags:["c9_nuke","c9_cap"],block_state:{Name:"minecraft:magma_block"},brightness:{sky:15,block:15},Glow:1b,glow_color_override:16724736,start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1f,0.5f,-1f],scale:[2f,1.5f,2f]}}
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 60 run summon block_display ~ ~ ~ {Tags:["c9_nuke","c9_cap2"],block_state:{Name:"minecraft:honey_block"},brightness:{sky:15,block:15},Glow:1b,glow_color_override:16766720,start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,0.5f,-0.75f],scale:[1.5f,2f,1.5f]}}
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 62 as @e[tag=c9_stem] run data merge entity @s {start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0.382f,0f,0.923f],right_rotation:[0f,0f,0f,1f],translation:[-1.75f,0f,-1.75f],scale:[3.5f,11f,3.5f]}}
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 62 as @e[tag=c9_cap] run data merge entity @s {start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-5.5f,9.5f,-5.5f],scale:[11f,4.5f,11f]}}
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_time matches 62 as @e[tag=c9_cap2] run data merge entity @s {start_interpolation:0,interpolation_duration:90,transformation:{left_rotation:[0f,0.382f,0f,0.923f],right_rotation:[0f,0f,0f,1f],translation:[-4f,11f,-4f],scale:[8f,5f,8f]}}

How it works

Frames from the test run

Thermonuclear Detonation - frame 1Thermonuclear Detonation - frame 2Thermonuclear Detonation - frame 3

Recorded on our own test server: 49 frames at about 8.1 fps. Our image check saw: A mushroom cloud structure constructed from scaled magma and honey block displays rises and expands on a grass platform at night.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Create a flat clearing at least 35x35 blocks wide so you have a clear view of the mushroom cloud.
  2. Run each of the 7 setup commands once in your chat window while standing at the center of your stage.
  3. Place a column or line of 14 Repeating Command Blocks set to 'Always Active' nearby.
  4. Paste one loop command into each repeating command block, making sure to wrap them with execute positioned at your stage center if the blocks are placed off to the side.
  5. Watch the 3-second countdown finish and trigger the rising thermonuclear display cloud.
  6. To replay the detonation, run the remove commands and then run the setup commands again.

Use it with real players

To let a player trigger the nuke by dropping a Named Blaze Rod instead of starting immediately, summon the controller marker only when the item is detected: /execute at @e[type=item,nbt={Item:{id:"minecraft:blaze_rod"}}] run summon marker ~ ~ ~ {Tags:["c9_nuke","c9_ctrl"]}, followed by killing the dropped item.

Remove it again 3 commands

  1. /kill @e[tag=c9_nuke]
  2. /scoreboard objectives remove c9_time
  3. /scoreboard objectives remove c9_ring

FAQ

Does this explosion destroy any blocks in my world?

No. The detonation is built entirely with block_display entities, sound effects, and particles, so your terrain and builds remain completely untouched.

Why wait 2 ticks between summoning the cloud displays and resizing them?

Minecraft display entities require at least 1-2 ticks to exist on the client before receiving a new transformation matrix; otherwise, they snap directly to the final size instead of interpolating smoothly.

Commands used

/data/execute/kill/particle/playsound/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides