Futuristic Plasma Cannon

Build a heavy sci-fi artillery turret that charges up glowing cyan plasma energy and fires an explosive beam into a target wall using command blocks.

Java EditionWands, Weapons & ToolsMedium24 commandsTested on a real 26.2 & 26.3 server
A futuristic prismarine cannon firing a bright cyan plasma beam across a grassy platform at night. Download the GIF Video & GIF © www.9minecraft.net

Lasers & BeamsTechnologySpaceCyanWhiteBluePvPAdventure MapDecorationBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

The Futuristic Plasma Cannon is an automated heavy artillery turret built from block display entities and dark prismarine. Situated on one side of the platform, it draws in glowing cyan energy particles while a reactor hums, building up to a high-powered shot.

Once fully charged, the barrel recoils and launches a dense plasma projectile across the stage. The bolt leaves a trail of soul fire and electric sparks before striking a reinforced target wall, triggering a bright multi-layered explosion and shattering the core block until the system resets for the next cycle.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-2 ~ ~-11 ~2 ~ ~-7 minecraft:polished_deepslate_slab
  3. /fill ~-1 ~ ~-10 ~1 ~1 ~-8 minecraft:iron_block
  4. /setblock ~ ~1 ~-9 minecraft:sea_lantern
  5. /fill ~-3 ~ ~10 ~3 ~4 ~11 minecraft:deepslate_bricks
  6. /fill ~-1 ~1 ~10 ~1 ~3 ~10 minecraft:iron_bars
  7. /setblock ~ ~2 ~10 minecraft:redstone_block
  8. /summon minecraft:marker ~ ~2 ~-6 {Tags:["c9_ctrl","c9_obj"]}
  9. /summon minecraft:block_display ~-0.75 ~1.5 ~-10.5 {Tags:["c9_obj","c9_turret"],brightness:{sky:15,block:15},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[1.5f,1.2f,3f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:dark_prismarine"}}
  10. /summon minecraft:block_display ~-0.3 ~1.8 ~-8.5 {Tags:["c9_obj","c9_barrel"],brightness:{sky:15,block:15},interpolation_duration:3,transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,3.5f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:sea_lantern"}}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_timer 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_timer=100..}] run scoreboard players set @s c9_timer 0
  3. /execute as @e[tag=c9_ctrl,scores={c9_timer=1}] at @s run setblock ~ ~ ~16 minecraft:redstone_block
  4. /execute as @e[tag=c9_ctrl,scores={c9_timer=10..40}] at @s run particle minecraft:dust{color:[0.0,0.8,1.0],scale:1.5} ~ ~0.1 ~ 0.8 0.8 0.8 0 8 force
  5. /execute as @e[tag=c9_ctrl,scores={c9_timer=25}] at @s run playsound minecraft:block.beacon.ambient master @a ~ ~ ~ 2 1.5
  6. /execute as @e[tag=c9_ctrl,scores={c9_timer=40..59}] at @s run particle minecraft:dust{color:[0.4,1.0,1.0],scale:2.2} ~ ~0.1 ~ 0.3 0.3 0.3 0 15 force
  7. /execute as @e[tag=c9_ctrl,scores={c9_timer=40..59}] at @s run particle minecraft:soul_fire_flame ~ ~0.1 ~ 0.2 0.2 0.2 0.05 5 force
  8. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=60}] as @e[tag=c9_barrel] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,0f,-0.8f],left_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,3.5f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=65}] as @e[tag=c9_barrel] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,3.5f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute as @e[tag=c9_ctrl,scores={c9_timer=60}] at @s run summon minecraft:area_effect_cloud ~ ~0.1 ~ {Tags:["c9_obj","c9_bolt"],Duration:20,Radius:0f}
  11. /execute as @e[tag=c9_ctrl,scores={c9_timer=60}] at @s run playsound minecraft:entity.warden.sonic_boom master @a ~ ~ ~ 2 1.2
  12. /execute as @e[tag=c9_bolt] at @s run tp @s ~ ~ ~1.0
  13. /execute as @e[tag=c9_bolt] at @s run particle minecraft:sonic_boom ~ ~ ~ 0 0 0 0 1 force
  14. /execute as @e[tag=c9_ctrl,scores={c9_timer=75}] at @s positioned ~ ~0.1 ~15 run particle minecraft:explosion_emitter ~ ~ ~ 0 0 0 0 1 force

How it works

Frames from the test run

Futuristic Plasma Cannon - frame 1Futuristic Plasma Cannon - frame 2Futuristic Plasma Cannon - frame 3

Recorded on our own test server: 49 frames at about 9.8 fps. Our image check saw: A small white and prismarine turret charges with blue particles before firing a glowing cyan plasma bolt forward.

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. Stand at the center of a flat open area where you want the cannon range to be built.
  2. Run each of the 10 setup commands in chat one by one to construct the turret base, the target wall, and the display entities.
  3. Place a line of 14 repeating command blocks (set to Always Active) near the stage.
  4. Paste one loop command into each repeating command block.
  5. If your command blocks are not at the exact center, wrap the coordinate-sensitive setup and loop commands with execute positioned X Y Z run ... matching your stage center.
  6. Watch the cannon charge up for 3 seconds and fire across the range every 5 seconds.

Use it with real players

To fire the cannon manually instead of on an automatic loop, remove the first two timer commands and add a button or lever connected to an impulse command block that sets /scoreboard players set @e[tag=c9_ctrl] c9_timer 1, only advancing the score when the score is between 1 and 99.

Remove it again 3 commands

  1. /kill @e[tag=c9_obj]
  2. /fill ~-3 ~ ~-11 ~3 ~5 ~11 minecraft:air
  3. /scoreboard objectives remove c9_timer

FAQ

Why does the plasma bolt disappear without me killing it?

The projectile is an area_effect_cloud with a Duration tag of 20 ticks. Minecraft automatically removes it after 1 second, which prevents lag and keeps the entity count low.

Can I change the color of the charging plasma?

Yes. In loop commands 4 and 6, edit the RGB values inside dust{color:[0.0,0.8,1.0]} to any decimal numbers between 0.0 and 1.0, such as [1.0,0.2,0.0] for an orange laser.

Commands used

/data/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides