Ancient Laser Automaton

Build an Ancient Laser Automaton in vanilla Minecraft using block displays and continuous raycast particle beams that track and blast nearby intruders.

Java EditionMobs & PetsExpert24 commandsTested on a real 26.2 & 26.3 server
A glowing prismarine and copper turret on a pedestal fires an explosive blue particle beam. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsTechnologyOceanMysticCyanOrangeGreenBoss FightAdventure MapMap MakingBlock displaysArmor standsRiding & passengersBlock building (fill/setblock/clone)Rotation math21+ commands

The Ancient Laser Automaton brings a towering mechanical guardian into vanilla Minecraft using glowing block display entities and multi-layered particle beams. Standing atop a mossy prismarine temple pedestal, its giant copper and prismarine head rotates smoothly to lock onto any threat moving around the perimeter.

It tracks a circling intruder with a dense crimson targeting laser, charges up its glowing cyan eye with swirling soul fire and electric sparks, and unleashes a massive cyan-and-gold plasma beam that blasts the target in a ring of fire.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 dark_prismarine
  3. /fill ~-3 ~ ~-3 ~3 ~ ~3 mossy_stone_bricks
  4. /fill ~-2 ~1 ~-2 ~2 ~1 ~2 chiseled_stone_bricks
  5. /fill ~-3 ~1 ~-3 ~3 ~2 ~3 sea_lantern outline
  6. /fill ~-2 ~1 ~-2 ~2 ~2 ~2 air
  7. /setblock ~ ~1 ~ lodestone
  8. /summon block_display ~ ~4.6 ~ {Tags:["c9_auto","c9_body"],Glowing:1b,glow_color_override:43690,block_state:{Name:"minecraft:oxidized_copper_bulb",Properties:{lit:"true"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.4f,-3.1f,-1.4f],scale:[2.8f,2.2f,2.8f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_auto"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:waxed_copper_grate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.8f,-2.7f,-1.8f],scale:[3.6f,1.4f,3.6f]}},{id:"minecraft:block_display",Tags:["c9_auto"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:lightning_rod",Properties:{facing:"up"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2.6f,-3.4f,-0.5f],scale:[5.2f,0.9f,1.0f]}},{id:"minecraft:block_display",Tags:["c9_auto"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:lightning_rod",Properties:{facing:"up"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-3.4f,-2.6f],scale:[1.0f,0.9f,5.2f]}}]}
  9. /summon block_display ~ ~4.6 ~ {Tags:["c9_auto","c9_eye"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,-0.55f,0.35f],scale:[1.1f,1.1f,1.0f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_auto","c9_head"],Glowing:1b,glow_color_override:43690,block_state:{Name:"minecraft:dark_prismarine"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.1f,-0.9f,-1.1f],scale:[2.2f,1.9f,2.2f]}},{id:"minecraft:block_display",Tags:["c9_auto","c9_crest"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:cut_copper_stairs",Properties:{facing:"north",half:"bottom"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.8f,0.9f,-0.8f],scale:[1.6f,0.9f,1.6f]}}]}
  10. /summon armor_stand ~ ~1 ~ {Tags:["c9_auto","c9_orbit"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:husk",Tags:["c9_auto","c9_target"],NoGravity:1b,NoAI:1b,Silent:1b,Glowing:1b,Invulnerable:1b,CustomName:'{"text":"Intruder","color":"red"}',CustomNameVisible:1b,equipment:{mainhand:{id:"minecraft:golden_sword",count:1},head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1}}}]}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 60.. run scoreboard players set #tick c9_timer 0
  3. /execute as @e[tag=c9_orbit] at @s run tp @s ~ ~ ~ ~3 ~
  4. /execute as @e[tag=c9_target] at @e[tag=c9_orbit,limit=1] rotated as @e[tag=c9_orbit,limit=1] run tp @s ^ ^ ^7.5 ~-90 ~
  5. /execute as @e[tag=c9_eye] at @s facing entity @e[tag=c9_target,limit=1] eyes run tp @s ~ ~ ~ ~ ~
  6. /execute as @e[tag=c9_eye] at @s run tp @n[tag=c9_head] ~ ~ ~ ~ ~
  7. /execute as @e[tag=c9_eye] at @s run tp @n[tag=c9_crest] ~ ~ ~ ~ ~
  8. /execute at @e[tag=c9_eye] rotated as @e[tag=c9_eye] run particle dust_color_transition{from_color:[1.0,0.0,0.2],to_color:[1.0,0.8,0.0],scale:1.6} ^ ^ ^2 ^ ^ ^5 0 18 force
  9. /execute at @e[tag=c9_eye] rotated as @e[tag=c9_eye] run particle dust_color_transition{from_color:[1.0,0.0,0.2],to_color:[1.0,0.8,0.0],scale:1.6} ^ ^ ^4.2 ^ ^ ^7.2 0 18 force
  10. /execute if score #tick c9_timer matches 25..44 at @e[tag=c9_eye] rotated as @e[tag=c9_eye] run particle soul_fire_flame ^ ^ ^1.1 0.4 0.4 0.4 0.05 8 force
  11. /execute if score #tick c9_timer matches 40..56 at @e[tag=c9_eye] rotated as @e[tag=c9_eye] run particle dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[1.0,1.0,1.0],scale:3.2} ^ ^ ^2.5 ^ ^ ^7.5 0.18 35 force
  12. /execute if score #tick c9_timer matches 40..56 at @e[tag=c9_eye] rotated as @e[tag=c9_eye] run particle sonic_boom ^ ^ ^4.5 0 0 0 0 1 force
  13. /execute if score #tick c9_timer matches 40..56 at @e[tag=c9_target] run particle flame ~ ~1 ~ 0.6 0.8 0.6 0.08 15 force
  14. /execute if score #tick c9_timer matches 42 at @e[tag=c9_target] run particle explosion_emitter ~ ~1 ~ 0 0 0 0 1 force

How it works

Frames from the test run

Ancient Laser Automaton - frame 1Ancient Laser Automaton - frame 2Ancient Laser Automaton - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A glowing prismarine and copper turret on a sea lantern pedestal rotates its head and fires a cyan sonic boom particle beam causing a fiery explosion.

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 Ancient Laser Automaton pedestal to appear.
  2. Run each of the 10 setup commands in chat or in impulse command blocks powered once to build the prismarine pedestal, assemble the giant automaton, and spawn the circling intruder.
  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, making sure their execution coordinates point to the center of the pedestal.
  5. Watch the automaton rotate its head to follow the intruder, charge its cyan eye with soul fire, and fire a continuous laser blast every three seconds.

Use it with real players

To make the automaton target real survival players instead of the demo husk, skip the last setup command that spawns c9_orbit and c9_target, and replace @e[tag=c9_target,limit=1] in the loop commands with @p[distance=..16]. You can also add /execute if score #tick c9_timer matches 42 at @p[distance=..16] run damage @s 6 minecraft:magic to deal laser damage when the beam fires.

Remove it again 4 commands

  1. /kill @e[tag=c9_auto]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-4 ~ ~-4 ~4 ~5 ~4 air
  4. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 grass_block

FAQ

Why do the block display entities rotate around the center of the head instead of their corner?

Each block display has a negative X and Z translation equal to half of its scale (for example, translation -1.1 for a scale of 2.2), which shifts the block so its center aligns with the entity's pivot point.

Can I change the firing speed of the laser beam?

Yes! Lower the reset threshold in the second loop command from 60 ticks (3 seconds) to 40 ticks (2 seconds) and adjust the tick ranges on the particle commands to make it fire faster.

Commands used

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

Similar creations

Join 9Minecraft News & Guides