Arcade Maze Chase

Build a glowing neon arcade maze in Minecraft where a yellow chomper eats floating golden pellets while four colorful ghosts chase it through corridors.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
A glowing Pac-Man style arcade maze in Minecraft with golden pellets and a moving chomper. Download the GIF Video & GIF © www.9minecraft.net

SimulationsTechnologyBlueYellowBlackMini-gameDecorationServer LobbyBlock displaysSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds a glowing neon arcade maze on a dark obsidian floor, complete with sea lantern and blue glass walls. Above the board, floating golden pellets line the corridors while a glowing yellow chomper automatically navigates the turns.

Right behind it, four colorful ghosts—Blinky, Pinky, Inky, and Clyde—race through the maze corridors in hot pursuit. As the chomper eats the pellets, bursts of golden dust and note block chimes play across the board.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:black_concrete
  3. /fill ~-9 ~ ~-9 ~9 ~ ~9 minecraft:blue_stained_glass outline
  4. /fill ~-8 ~ ~-8 ~8 ~ ~8 minecraft:air
  5. /fill ~-7 ~ ~-7 ~7 ~ ~7 minecraft:sea_lantern outline
  6. /fill ~-6 ~ ~-6 ~6 ~ ~6 minecraft:air
  7. /fill ~-5 ~ ~-5 ~5 ~ ~5 minecraft:blue_stained_glass outline
  8. /fill ~-4 ~ ~-4 ~4 ~ ~4 minecraft:air
  9. /fill ~-3 ~ ~-3 ~3 ~ ~3 minecraft:sea_lantern
  10. /summon minecraft:block_display ~-8 ~0.2 ~-8 {Tags:["c9_ent","c9_actor","c9_pac"],Rotation:[0f,0f],Glowing:1b,glow_color_override:16776960,teleport_duration:2,block_state:{Name:"minecraft:yellow_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.85f,0.85f,0.85f],translation:[-0.425f,0f,-0.425f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_ent","c9_actor","c9_ghost","c9_g1"],Rotation:[90f,0f],Glowing:1b,glow_color_override:16711680,teleport_duration:2,block_state:{Name:"minecraft:red_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.95f,0.8f],translation:[-0.4f,0f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_actor","c9_ghost","c9_g2"],Rotation:[180f,0f],Glowing:1b,glow_color_override:16738740,teleport_duration:2,block_state:{Name:"minecraft:pink_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.95f,0.8f],translation:[-0.4f,0f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_actor","c9_ghost","c9_g3"],Rotation:[-90f,0f],Glowing:1b,glow_color_override:65535,teleport_duration:2,block_state:{Name:"minecraft:cyan_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.95f,0.8f],translation:[-0.4f,0f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_actor","c9_ghost","c9_g4"],Rotation:[0f,0f],Glowing:1b,glow_color_override:16753920,teleport_duration:2,block_state:{Name:"minecraft:orange_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.95f,0.8f],translation:[-0.4f,0f,-0.4f]}}]}

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 1 run ride @e[tag=c9_g1,limit=1] dismount
  3. /execute if score #tick c9_timer matches 1 run ride @e[tag=c9_g2,limit=1] dismount
  4. /execute if score #tick c9_timer matches 1 run ride @e[tag=c9_g3,limit=1] dismount
  5. /execute if score #tick c9_timer matches 1 run ride @e[tag=c9_g4,limit=1] dismount
  6. /execute if score #tick c9_timer matches 1 run tp @e[tag=c9_g1,limit=1] ~8 ~0.2 ~-8 0 0
  7. /execute if score #tick c9_timer matches 1 run tp @e[tag=c9_g2,limit=1] ~8 ~0.2 ~8 90 0
  8. /execute if score #tick c9_timer matches 1 run tp @e[tag=c9_g3,limit=1] ~-6 ~0.2 ~-6 0 0
  9. /execute if score #tick c9_timer matches 1 run tp @e[tag=c9_g4,limit=1] ~6 ~0.2 ~6 180 0
  10. /execute if score #tick c9_timer matches 2.. as @e[tag=c9_actor] at @s unless block ^ ^ ^0.55 minecraft:air run tp @s ~ ~ ~ ~90 0
  11. /execute if score #tick c9_timer matches 2.. as @e[tag=c9_actor] at @s if block ^ ^ ^0.55 minecraft:air run tp @s ^ ^ ^0.35
  12. /execute as @e[tag=c9_ghost] at @s unless entity @e[tag=c9_pellet,distance=..1.4] if entity @e[tag=c9_pellet,limit=50] unless entity @e[tag=c9_pellet,limit=1,distance=..0.1] run summon minecraft:block_display ~ ~0.25 ~ {Tags:["c9_ent","c9_pellet"],Glowing:1b,glow_color_override:16776960,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.28f,0.28f,0.28f],translation:[-0.14f,0f,-0.14f]}}
  13. /execute as @e[tag=c9_ghost,limit=1] at @s unless entity @e[tag=c9_pellet] run summon minecraft:block_display ~ ~0.25 ~ {Tags:["c9_ent","c9_pellet"],Glowing:1b,glow_color_override:16776960,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.28f,0.28f,0.28f],translation:[-0.14f,0f,-0.14f]}}
  14. /execute at @e[tag=c9_pac] as @e[tag=c9_pellet,distance=..0.9] at @s run particle minecraft:dust{color:[1.0,0.9,0.1],scale:1.5} ~ ~0.2 ~ 0.2 0.2 0.2 0.05 8 force

How it works

Frames from the test run

Arcade Maze Chase - frame 1Arcade Maze Chase - frame 2Arcade Maze Chase - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A glowing arcade maze made of sea lanterns, blue glass, and obsidian with golden pellets and a moving orange-yellow block leaving yellow particles, though the four colorful ghosts are missing.

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 centre of a flat open area with at least 10 blocks of space in every direction.
  2. Run the 10 setup commands in order in chat or a command block to build the neon maze floor, glowing walls, and characters.
  3. Place 14 repeating command blocks (or 1 repeating command block chained into 13 chain command blocks), all set to Always Active.
  4. Paste each of the 14 loop commands into the command blocks in order.
  5. Watch from above at night as the ghosts populate the corridors with golden pellets and chase the yellow chomper around the glowing rings.

Use it with real players

To play inside the maze yourself instead of watching the automatic chomper, remove the c9_pac block display and give yourself the c9_pac tag with /tag @s add c9_pac. Walk through the corridors to trigger the golden particle bursts on the pellets while the four ghosts patrol the rings.

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /fill ~-9 ~ ~-9 ~9 ~1 ~9 minecraft:air
  3. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:grass_block
  4. /scoreboard objectives remove c9_timer

FAQ

Why were the cubes spinning in place on top of the walls before?

In the earlier setup, the actors were spawned at coordinates (~ ~ ~-6 and ~6 ~ ~6) where sea lantern walls had been placed without carving air corridors, so their forward wall sensor always detected a block and turned them in circles. Now explicit air corridors are carved at radius 8 and radius 6, and every character spawns directly inside an open corridor.

Does this creation cause lag from too many pellets?

No, pellet spawning checks that no other pellet is within 1.4 blocks along the corridor path, which caps the total number of pellets on the board at around 45 entities.

Commands used

/execute/fill/particle/ride/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides