Cybernetic Eye Dilating Laser Scan

Summon a floating cybernetic eyeball made of glowing block displays that tracks a target, dilates its iris, and sweeps the ground with a laser grid.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A hovering cybernetic eye with a glowing cyan outline tracks a particle target across a grassy field. Download the GIF Video & GIF © www.9minecraft.net

Creatures & ModelsTechnologyIndustrialHorrorCyanWhiteRedBoss FightAdventure MapDecorationParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsGlowing outlinesRotation math21+ commands

This command creation builds a giant hovering cybernetic eye using block_display entities. The eye consists of a dark prismarine outer shell, a sea lantern sclera, two concentric cyan and light blue stained glass iris rings, and a redstone pupil surrounded by rotating iron lenses.

The eye smoothly tracks a wandering target across the arena. On a repeating cycle, its multi-layered mechanical iris contracts and dilates using display interpolation while projecting a five-beam laser grid scan across the ground.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /summon armor_stand ~ ~ ~5 {Tags:["c9_all","c9_actor"],CustomName:'{"text":"Scan Target","color":"aqua"}',CustomNameVisible:1b,Glowing:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"minecraft:Observer",count:1}]}
  3. /summon marker ~ ~7 ~ {Tags:["c9_all","c9_eye"]}
  4. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_shell"],Glowing:1b,glow_color_override:43775,interpolation_duration:10,teleport_duration:2,block_state:{Name:"minecraft:dark_prismarine"},transformation:{translation:[-1.75f,-1.75f,-1.9f],scale:[3.5f,3.5f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_sclera"],Glowing:1b,glow_color_override:16777215,interpolation_duration:10,teleport_duration:2,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.4f,-1.4f,-1.25f],scale:[2.8f,2.8f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_iris1"],Glowing:1b,glow_color_override:65535,interpolation_duration:12,teleport_duration:2,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-1.1f,-1.1f,-0.4f],scale:[2.2f,2.2f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_iris2"],Glowing:1b,glow_color_override:5636095,interpolation_duration:12,teleport_duration:2,block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{translation:[-0.75f,-0.75f,0.1f],scale:[1.5f,1.5f,0.75f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_pupil"],Glowing:1b,glow_color_override:16711680,interpolation_duration:10,teleport_duration:2,block_state:{Name:"minecraft:redstone_block"},transformation:{translation:[-0.4f,-0.4f,0.4f],scale:[0.8f,0.8f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_ring1"],Glowing:1b,glow_color_override:11184810,interpolation_duration:10,teleport_duration:2,block_state:{Name:"minecraft:iron_Trapdoor",Properties:{facing:"north",open:"true"}},transformation:{translation:[-1.9f,-1.9f,-0.6f],scale:[3.8f,3.8f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon block_display ~ ~7 ~ {Tags:["c9_all","c9_part","c9_ring2"],Glowing:1b,glow_color_override:43775,interpolation_duration:10,teleport_duration:2,block_state:{Name:"minecraft:prismarine_bricks"},transformation:{translation:[-1.6f,-1.6f,-1.4f],scale:[3.2f,3.2f,1.6f],left_rotation:[0f,0f,0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /scoreboard players add @e[tag=c9_eye] c9_timer 1
  2. /execute as @e[tag=c9_eye,scores={c9_timer=120..}] run scoreboard players set @s c9_timer 0
  3. /execute as @e[tag=c9_eye,scores={c9_timer=1..60}] at @e[tag=c9_actor] run tp @e[tag=c9_actor] ~ ~ ~ ~3 ~
  4. /execute as @e[tag=c9_eye,scores={c9_timer=61..120}] at @e[tag=c9_actor] run tp @e[tag=c9_actor] ~ ~ ~ ~-3 ~
  5. /execute as @e[tag=c9_actor] at @s run tp @s ^ ^ ^0.18
  6. /execute as @e[tag=c9_eye] at @s facing entity @e[tag=c9_actor,limit=1] feet run tp @s ~ ~ ~ ~ ~
  7. /execute at @e[tag=c9_eye] run tp @e[tag=c9_part] ~ ~ ~ ~ ~
  8. /execute as @e[tag=c9_eye,scores={c9_timer=1}] run data merge entity @e[tag=c9_iris1,limit=1] {start_interpolation:0,transformation:{translation:[-1.1f,-1.1f,-0.4f],scale:[2.2f,2.2f,1.1f]}}
  9. /execute as @e[tag=c9_eye,scores={c9_timer=1}] run data merge entity @e[tag=c9_pupil,limit=1] {start_interpolation:0,transformation:{translation:[-0.5f,-0.5f,0.4f],scale:[1.0f,1.0f,0.6f]}}
  10. /execute as @e[tag=c9_eye,scores={c9_timer=35}] run data merge entity @e[tag=c9_iris1,limit=1] {start_interpolation:0,transformation:{translation:[-0.75f,-0.75f,-0.2f],scale:[1.5f,1.5f,1.3f]}}
  11. /execute as @e[tag=c9_eye,scores={c9_timer=35}] run data merge entity @e[tag=c9_pupil,limit=1] {start_interpolation:0,transformation:{translation:[-0.18f,-0.18f,0.5f],scale:[0.36f,0.36f,0.85f]}}
  12. /execute at @e[tag=c9_eye] run particle dust{color:[0.0,0.9,1.0],scale:1.4} ^ ^ ^1.2 1.2 1.2 1.2 0 4
  13. /execute as @e[tag=c9_eye,scores={c9_timer=45..95}] at @s anchored eyes run particle dust{color:[1.0,0.1,0.2],scale:1.6} ^ ^ ^2 ^ ^ ^10 0 0 force
  14. /execute as @e[tag=c9_eye,scores={c9_timer=45..95}] at @e[tag=c9_actor] run particle end_rod ~ ~0.2 ~ 2.2 0.1 2.2 0.02 12 force

How it works

Frames from the test run

Cybernetic Eye Dilating Laser Scan - frame 1Cybernetic Eye Dilating Laser Scan - frame 2Cybernetic Eye Dilating Laser Scan - frame 3

Recorded on our own test server: 53 frames at about 8.7 fps. Our image check saw: A floating blocky eye made of dark prismarine, sea lanterns, blue glass, and redstone rotates in the air while tracking a spot of white particles on the ground.

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 in the middle of an open area and run all 10 setup commands in chat or paste them into impulse command blocks.
  2. Place a line of 14 connected command blocks: set the first one to Repeat, Unconditional, Always Active, and the remaining 13 to Chain, Unconditional, Always Active.
  3. Paste the 14 loop commands in order into the repeating and chain command blocks.
  4. Watch the floating cybernetic eye track the glowing target, contract its iris, and scan the ground with laser particles.
  5. When you are finished, turn off the repeating block and run the two cleanup commands.

Use it with real players

To make the cybernetic eye track and scan the nearest survival player instead of the demo armor stand, skip the second setup command (which summons c9_actor) and replace every @e[tag=c9_actor] or @e[tag=c9_actor,limit=1] in the loop commands with @p (removing loop commands 3, 4, and 5 so it does not teleport the player).

Remove it again 2 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_timer

FAQ

Why do the display blocks stay centered when rotating?

Each block_display has its translation set to negative half of its X and Y scale values, shifting the block's pivot point from its corner to its exact center.

How can I change the speed of the iris dilation?

Adjust the interpolation_duration NBT value on the iris and pupil block_display entities in the setup commands; lower numbers make the iris snap shut faster.

Commands used

/data/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides