360-Degree Lidar Pulse Scanner

A central beacon fires an expanding ring of raycasted laser particles that strike surrounding pillars, illuminating and mapping them out in glowing point clouds.

Java EditionParticle ArtMedium24 commandsTested on a real 26.2 & 26.3 server
A central scanner emits cyan laser rings that detect and illuminate dark pillars in green. Download the GIF Video & GIF © www.9minecraft.net

Rings & OrbitsTechnologyCyanGreenBlackLearningMini-gameMap MakingItem displaysScoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands

Watch a central scanner unit spin up and emit a 360-degree ring of cyan laser rays across a dark obsidian arena. As each ray travels outward, it detects solid blocks in its path and stops on contact, converting into a glowing green point-cloud marker and illuminating the struck pillar from top to bottom.

By firing pulses at four different vertical layers in sequence, the scanner gradually builds a glowing wireframe echo of the room's obstacles before resetting for the next sweep.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_life dummy
  3. /fill ~-14 ~-1 ~-14 ~14 ~-1 ~14 polished_blackstone
  4. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 iron_block
  5. /setblock ~ ~ ~ beacon
  6. /fill ~5 ~ ~3 ~6 ~5 ~4 chiseled_polished_blackstone
  7. /fill ~-7 ~ ~-4 ~-6 ~6 ~-3 chiseled_polished_blackstone
  8. /fill ~-5 ~ ~6 ~-4 ~4 ~7 chiseled_polished_blackstone
  9. /fill ~4 ~ ~-8 ~5 ~5 ~-7 chiseled_polished_blackstone
  10. /summon item_display ~ ~1.5 ~ {Tags:["c9_core"],billboard:"fixed",Glowing:1b,glow_color_override:65535,item:{id:"minecraft:conduit"},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 #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 45.. run scoreboard players set #tick c9_timer 0
  3. /execute if score #tick c9_timer matches 0 run scoreboard players add #layer c9_timer 1
  4. /execute if score #layer c9_timer matches 4.. run scoreboard players set #layer c9_timer 0
  5. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~8 ~
  6. /execute if score #tick c9_timer matches 1..18 run summon area_effect_cloud ~ ~0.6 ~ {Tags:["c9_ray","c9_init"],Duration:36,Radius:0f}
  7. /execute as @e[tag=c9_init] at @s run tp @s ~ ~ ~ ~ ~
  8. /execute as @e[tag=c9_init] at @s rotated as @e[tag=c9_core,limit=1] run tp @s ~ ~ ~ ~ ~
  9. /execute if score #tick c9_timer matches 1..18 run summon area_effect_cloud ~ ~0.6 ~ {Tags:["c9_ray","c9_init2"],Duration:36,Radius:0f}
  10. /execute as @e[tag=c9_init2] at @s rotated as @e[tag=c9_core,limit=1] run tp @s ~ ~ ~ ~180 ~
  11. /execute as @e[tag=c9_ray] at @s if score #layer c9_timer matches 1 if entity @s[tag=c9_init] run tp @s ~ ~1.2 ~
  12. /execute as @e[tag=c9_ray] at @s if score #layer c9_timer matches 1 if entity @s[tag=c9_init2] run tp @s ~ ~1.2 ~
  13. /execute as @e[tag=c9_ray] at @s if score #layer c9_timer matches 2.. if entity @s[tag=c9_init] run tp @s ~ ~2.4 ~
  14. /execute as @e[tag=c9_ray] at @s if score #layer c9_timer matches 2.. if entity @s[tag=c9_init2] run tp @s ~ ~2.4 ~

How it works

Frames from the test run

360-Degree Lidar Pulse Scanner - frame 1360-Degree Lidar Pulse Scanner - frame 2360-Degree Lidar Pulse Scanner - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A central beacon in a dark arena emits a 360-degree expanding ring of cyan particles that stops upon hitting pillars, turning green and illuminating them.

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 dark floor and place a beacon in the center with four stone pillars around it within 10 blocks.
  2. Run the setup commands in chat to create the scoreboards, the arena pillars, and the central rotating scanner core.
  3. Place a chain of 14 command blocks (1 Repeating Always Active followed by 13 Chain Always Active).
  4. Paste the loop commands in order into the command blocks to drive the sweep cycle and ray generation.

Use it with real players

To turn this into a handheld scanner tool, replace the central @e[tag=c9_core] reference with @a[nbt={SelectedItem:{id:"minecraft:spyglass"}}] so the Lidar pulse fires outwards from any player holding a spyglass.

Remove it again 6 commands

  1. /kill @e[tag=c9_core]
  2. /kill @e[tag=c9_ray]
  3. /scoreboard objectives remove c9_timer
  4. /scoreboard objectives remove c9_life
  5. /fill ~-14 ~ ~-14 ~14 ~8 ~14 air
  6. /fill ~-14 ~-1 ~-14 ~14 ~-1 ~14 grass_block

FAQ

Why use area_effect_cloud entities for the rays instead of armor stands?

Area effect clouds have a built-in Duration NBT tag so they automatically despawn after their flight time ends, preventing entity buildup without needing extra cleanup commands.

Can I add more obstacles for the Lidar to scan?

Yes, any solid block placed within 12 blocks of the center beacon will interact with the scanning ring.

Commands used

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

Similar creations

Join 9Minecraft News & Guides