Spinning Banner Jackpot Machine

An automated arcade cabinet that rapidly cycles patterned wall banners using /clone until locking into a winning jackpot with a celebratory gold shower.

Java EditionMini-games & UtilitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A deepslate and gold Minecraft jackpot machine displays three patterned banners with glowing green and yellow particles. Download the GIF Video & GIF © www.9minecraft.net

Arenas & Mini-gamesCelebrationTechnologyGoldGreenYellowMini-gameServer LobbyDecorationArmor standsSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

Watch a sleek deepslate-and-gold arcade cabinet spin three vibrant patterned banners across its lit display screen before locking each reel one by one onto a matching jackpot symbol.

Hidden template banners tucked inside the cabinet vault are copied with /clone every tick, finishing with a celebratory fanfare, glowing confetti particles, and a fountain of gold ingots.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_slot dummy
  2. /fill ~-2 ~0 ~-2 ~2 ~4 ~0 polished_deepslate
  3. /fill ~-1 ~1 ~-1 ~1 ~3 ~-1 air
  4. /fill ~-2 ~4 ~-2 ~2 ~4 ~1 gold_block
  5. /fill ~-1 ~2 ~0 ~1 ~2 ~0 sea_lantern
  6. /fill ~-2 ~0 ~1 ~2 ~0 ~1 gold_block
  7. /setblock ~-1 ~1 ~-1 red_wall_banner[facing=south]{patterns:[{pattern:"minecraft:creeper",color:"yellow"}]}
  8. /setblock ~0 ~1 ~-1 cyan_wall_banner[facing=south]{patterns:[{pattern:"minecraft:rhombus",color:"white"},{pattern:"minecraft:border",color:"blue"}]}
  9. /setblock ~1 ~1 ~-1 yellow_wall_banner[facing=south]{patterns:[{pattern:"minecraft:flower",color:"magenta"},{pattern:"minecraft:cross",color:"red"}]}
  10. /summon armor_stand ~2.8 ~0 ~2.2 {Tags:["c9_actor","c9_ctrl"],NoBasePlate:1b,ShowArms:1b,Rotation:[135f,0f],equipment:{head:{id:"minecraft:gold_block",count:1},mainhand:{id:"minecraft:gold_ingot",count:1}}}

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

  1. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 138.. run scoreboard players set @e[tag=c9_actor,limit=1] c9_slot 0
  2. /scoreboard players add @e[tag=c9_actor,limit=1] c9_slot 1
  3. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches ..41 run clone ~0 ~2 ~1 ~0 ~2 ~1 ~-1 ~2 ~1
  4. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches ..61 run clone ~1 ~2 ~1 ~1 ~2 ~1 ~0 ~2 ~1
  5. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches ..78 if score #r c9_slot matches 0 run clone ~-1 ~1 ~-1 ~-1 ~1 ~-1 ~1 ~2 ~1
  6. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches ..78 if score #r c9_slot matches 1 run clone ~0 ~1 ~-1 ~0 ~1 ~-1 ~1 ~2 ~1
  7. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches ..78 if score #r c9_slot matches 2 run clone ~1 ~1 ~-1 ~1 ~1 ~-1 ~1 ~2 ~1
  8. /scoreboard players add #r c9_slot 1
  9. /execute if score #r c9_slot matches 3.. run scoreboard players set #r c9_slot 0
  10. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 41 run playsound minecraft:block.note_block.bell master @a ~ ~2 ~1 1 1.2
  11. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 61 run playsound minecraft:block.note_block.bell master @a ~ ~2 ~1 1 1.5
  12. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 78 run playsound minecraft:ui.toast.challenge_complete master @a ~ ~2 ~1 1 1.1
  13. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 78..112 run particle minecraft:totem_of_undying ~ ~2.8 ~1.5 1.1 0.8 0.4 0.35 12
  14. /execute if score @e[tag=c9_actor,limit=1] c9_slot matches 80..95 run summon item ~ ~2.5 ~1.3 {Tags:["c9_loot"],PickupDelay:32767s,Age:5880s,Motion:[0.0,0.38,0.22],Item:{id:"minecraft:gold_ingot",count:1}}

How it works

Frames from the test run

Spinning Banner Jackpot Machine - frame 1Spinning Banner Jackpot Machine - frame 2Spinning Banner Jackpot Machine - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A deepslate-and-gold arcade cabinet displays three patterned banners changing across its lit screen until all three match, surrounded by green and yellow confetti particles with a gold ingot on the ground in front.

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 at least 7x7 blocks wide and stand at the center facing north so the cabinet front will face south toward you.
  2. Run each of the 10 setup commands in order from chat or an impulse command block chain to build the cabinet, hidden banner vault, and stand-in player.
  3. Place 14 repeating, always-active command blocks in a neat line in order from 1 to 14, all positioned relative to the center block of the cabinet.
  4. Paste the 14 loop commands into those repeating command blocks in exact order so the reel cascade shifts cleanly each tick.
  5. Stand a few blocks in front of the machine and watch it automatically spin, lock all three reels, chime, and spray gold ingots every 6.9 seconds.

Use it with real players

To let real players pull the lever or press a button to spin on demand, remove the automatic reset command at index 0 of the loop and add a cap so c9_slot stops incrementing at tick 138; then attach a button on the front of the cabinet to a command block that runs /scoreboard players set @e[tag=c9_actor,limit=1] c9_slot 0 whenever a player wants to start a new round, and remove PickupDelay:32767s from the summoned gold ingots so players can collect their winnings.

Remove it again 4 commands

  1. /kill @e[tag=c9_actor]
  2. /kill @e[tag=c9_loot]
  3. /scoreboard objectives remove c9_slot
  4. /fill ~-2 ~0 ~-2 ~2 ~4 ~1 air

FAQ

Why do the repeating command blocks need to be placed in order?

The machine shifts banners from right to left across the three front slots in a single tick. Running the left-shift commands before inserting the new template banner ensures each reel displays a distinct pattern while spinning.

Will the gold ingots lag my world over time?

No. Each summoned gold ingot starts with <code>Age:5880s</code>, meaning it automatically despawns 6 seconds later, keeping the active item count under 20.

Commands used

/clone/execute/fill/particle/playsound/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides