Arcade Tower Stacker

A giant gold and obsidian arcade cabinet plays itself. Glowing sea lantern rows slide across a black screen and lock into a tower, each with a burst of notes.

Java EditionComplex Contraptions & CinematicsMedium23 commandsTested on a real 26.2 & 26.3 server
Obsidian and gold arcade screen with stacked rows of glowing sea lanterns and sparkles at night. Download the GIF Video & GIF © www.9minecraft.net

A tall arcade cabinet with an obsidian frame and a gold bezel stands in the middle of the stage, with a floating TOWER STACKER sign above it. On the black screen, a bright bar of three sea lanterns slides left and right, bounces off the gold edges and leaves a trail of end rod sparks.

Every second the bar locks into place with a chime and a burst of colourful note particles, and a new bar starts sliding on the row above. The tower grows row by row until it reaches the top, then the screen clears and the game starts again. The screen is a single wall of blocks, so you can watch it from the front or the back.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_dir dummy
  3. /fill ~-8 ~ ~ ~8 ~18 ~ obsidian
  4. /fill ~-7 ~1 ~ ~7 ~17 ~ gold_block
  5. /fill ~-6 ~2 ~ ~6 ~16 ~ black_concrete
  6. /fill ~-2 ~2 ~ ~2 ~2 ~ sea_lantern
  7. /summon marker ~ ~3 ~ {Tags:["c9_m","c9_cur"]}
  8. /scoreboard players set @e[tag=c9_cur] c9_dir 1
  9. /summon text_display ~ ~19.5 ~ {Tags:["c9_m"],text:{"text":"TOWER STACKER","color":"gold","bold":true},billboard:"center",brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,3f,3f]}}

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

  1. /scoreboard players add @e[tag=c9_cur] c9_t 1
  2. /execute as @e[tag=c9_cur] at @s if block ~2 ~ ~ gold_block run scoreboard players set @s c9_dir -1
  3. /execute as @e[tag=c9_cur] at @s if block ~-2 ~ ~ gold_block run scoreboard players set @s c9_dir 1
  4. /execute as @e[tag=c9_cur,scores={c9_dir=1}] at @s run tp @s ~0.5 ~ ~
  5. /execute as @e[tag=c9_cur,scores={c9_dir=-1}] at @s run tp @s ~-0.5 ~ ~
  6. /execute as @e[tag=c9_cur] at @s run fill ~-7 ~ ~ ~7 ~ ~ black_concrete replace sea_lantern
  7. /execute as @e[tag=c9_cur] at @s run fill ~-1 ~ ~ ~1 ~ ~ sea_lantern replace black_concrete
  8. /execute as @e[tag=c9_cur] at @s run particle end_rod ~ ~0.5 ~ 1 0.3 0.6 0.01 3 force
  9. /execute as @e[tag=c9_cur,scores={c9_t=20..}] at @s run particle note ~ ~0.8 ~ 1.5 0.4 0.8 1 30 force
  10. /execute as @e[tag=c9_cur,scores={c9_t=20..}] at @s run playsound block.note_block.chime master @a ~ ~ ~ 1 1.2
  11. /execute as @e[tag=c9_cur,scores={c9_t=20..}] at @s run tp @s ~ ~1 ~
  12. /scoreboard players set @e[tag=c9_cur,scores={c9_t=20..}] c9_t 0
  13. /execute as @e[tag=c9_cur] at @s if block ~ ~ ~ gold_block run fill ~-13 ~-15 ~ ~13 ~-1 ~ black_concrete replace sea_lantern
  14. /execute as @e[tag=c9_cur] at @s if block ~ ~ ~ gold_block run tp @s ~ ~-15 ~

How it works

Frames from the test run

Arcade Tower Stacker - frame 1Arcade Tower Stacker - frame 2Arcade Tower Stacker - frame 3

Recorded on our own test server: 49 frames at about 8.0 fps. Our image check saw: A tall obsidian-framed cabinet with a gold block bezel and black screen holds staggered stacked rows of three sea lanterns, with white end-rod-like sparks and faint particles, new bars appearing higher across frames; no sign or colourful note particles are visible.

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. Find a flat open area and stand where you want the middle of the cabinet's base. The cabinet is built along the east-west axis.
  2. Run the setup commands in order from a command block or chat, positioned on the first air block above the ground.
  3. Place 14 repeating command blocks set to Always Active and paste one loop command into each, keeping them in the listed order (a chain works best).
  4. Make sure the command blocks run at the same spot where you ran the setup, because the loop finds the marker by its tag.
  5. Switch to night and stand in front of or behind the screen to watch the tower grow.
  6. Use the remove commands to clear everything when you are done.

Use it with real players

To let a player play it, replace the automatic lock with a button press. Remove the scores={c9_t=20..} condition from the lock commands, put those three commands (particle, playsound, tp up) in a chain started by an impulse command block, and wire a stone button to it. The bar then keeps sliding until the player presses the button.

Remove it again 4 commands

  1. /fill ~-8 ~ ~ ~8 ~18 ~ air
  2. /kill @e[tag=c9_m]
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_dir

FAQ

Why did the frame disappear in older versions?

Older versions cleared the whole row with air, which also erased the gold edges, so the bar never bounced and flew off the screen. This version only replaces sea lanterns, so the frame stays put.

Can I make the game faster or slower?

Yes. Change the <code>20..</code> in the lock commands to a smaller number to lock rows faster, or a bigger number to lock them slower. Changing the <code>0.5</code> in the tp commands changes how fast the bar slides.

Commands used

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

Similar creations

Join 9Minecraft News & Guides