Build an industrial sci-fi reactor in Minecraft using command blocks. Watch a glowing sea lantern core destabilize into volatile magma and explode!
Machines & MechanismsTechnologyIndustrialFireCyanOrangeRedCinematicAdventure MapDecorationBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
The Critical Meltdown Reactor brings an industrial sci-fi disaster to your Minecraft world. At the center of a containment pad, a glowing sea lantern core levitates while surrounded by two spinning containment rings. As the reactor destabilizes, it shifts into a volatile magma core, vents flames from the ground, and collapses into a violent explosion before resetting.
/scoreboard objectives add c9_timer dummy/fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 polished_deepslate/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 iron_block/setblock ~-3 ~ ~-3 redstone_lamp[lit=true]/setblock ~3 ~ ~-3 redstone_lamp[lit=true]/setblock ~-3 ~ ~3 redstone_lamp[lit=true]/setblock ~3 ~ ~3 redstone_lamp[lit=true]/summon block_display ~ ~3.5 ~ {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.75f,-0.75f,-0.75f],scale:[1.5f,1.5f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~3.5 ~ {Tags:["c9_ent","c9_ring1"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_grate"},transformation:{translation:[-1.5f,-0.15f,-1.5f],scale:[3.0f,0.3f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~3.5 ~ {Tags:["c9_ent","c9_ring2"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_trapdoor"},transformation:{translation:[-0.15f,-1.6f,-1.6f],scale:[0.3f,3.2f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 140.. run scoreboard players set #tick c9_timer 1/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~6 ~4/execute as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~-12 ~8/execute as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~10 ~-14/execute if score #tick c9_timer matches 1..50 run particle dust{color:[0.0,1.0,1.0],scale:1.6} ~ ~3.5 ~ 1.4 1.4 1.4 0 10 force/execute if score #tick c9_timer matches 50 as @e[tag=c9_core] run data merge entity @s {block_state:{Name:"minecraft:magma_block"},glow_color_override:16711680,interpolation_duration:20,start_interpolation:0,transformation:{translation:[-1.1f,-1.1f,-1.1f],scale:[2.2f,2.2f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 51..95 run particle dust{color:[1.0,0.15,0.0],scale:2.2} ~ ~3.5 ~ 1.8 1.8 1.8 0 16 force/execute if score #tick c9_timer matches 51..95 run particle flame ~-3 ~0.8 ~-3 0 0.8 0 0.15 4 force/execute if score #tick c9_timer matches 51..95 run particle flame ~3 ~0.8 ~3 0 0.8 0 0.15 4 force/execute if score #tick c9_timer matches 96 as @e[tag=c9_core] run data merge entity @s {interpolation_duration:14,start_interpolation:0,transformation:{translation:[-0.1f,-0.1f,-0.1f],scale:[0.2f,0.2f,0.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 96..110 run particle portal ~ ~3.5 ~ 0 0 0 2.5 60 force/execute if score #tick c9_timer matches 112..118 run particle flame ~ ~3.5 ~ 0.6 0.6 0.6 0.65 90 force/execute if score #tick c9_timer matches 135 as @e[tag=c9_core] run data merge entity @s {block_state:{Name:"minecraft:sea_lantern"},glow_color_override:65535,interpolation_duration:10,start_interpolation:0,transformation:{translation:[-0.75f,-0.75f,-0.75f],scale:[1.5f,1.5f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}setup #8 Summons the central reactor core using a <code>block_display</code> entity. The negative translation offsets the 1.5x scale so the block stays centered on its pivot point when rotating.loop #3 Rotates the core and containment rings along both yaw and pitch axes every tick, creating a 3D gyroscope motion.loop #7 At tick 50, <code>/data merge</code> switches the core block state from a sea lantern to a magma block, changes its glow color to red, and smoothly interpolates its size up to 2.2x over 20 ticks.loop #11 At tick 96, the unstable core collapses down to a 0.2x scale right before releasing a high-speed burst of flame particles.


Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A floating sea lantern core inside spinning trapdoor and slab rings above a containment pad turns into a magma block and emits redstone and flame particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the meltdown dangerous for nearby survival players, add a chain command block running /execute if score #tick c9_timer matches 112..118 run damage @a[distance=..8] 6 minecraft:explosion so players take blast damage if they fail to evacuate before the core detonates.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_timer/fill ~-4 ~ ~-4 ~4 ~ ~4 air/fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 grass_blockDisplay entities render from their corner by default. By setting the translation to minus half of the scale on all three axes (for example, translation -0.75 for scale 1.5), the center of the block aligns with the entity's rotation pivot.
No, the explosion is purely visual and uses high-velocity flame and portal particles, making it completely safe to install inside your builds.
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Automated Smelting FoundryMachines & MechanismsHard24 cmds
▶Trench Warfare Artillery DisplayMachines & MechanismsHard24 cmds
▶Animated V8 Piston Engine CutawayMachines & MechanismsMedium24 cmds