Giant Arcade Prize Claw Machine

Watch a giant glass arcade claw machine automatically lower its three metallic prongs, grab a glowing diamond helmet, and drop it down the chute.

Java EditionHolograms & Display EntitiesEasyTested on a real 26.2 & 26.3 server
A giant magenta arcade claw machine in Minecraft picks up oversized treasure items behind glass. Download the GIF

Step up to an oversized neon arcade cabinet built from magenta concrete, glowing sea lanterns, and clear glass walls. Inside sit giant glowing item_display treasures including a golden apple, emerald, nether star, diamond sword, and a gleaming enchanted diamond helmet.

Every few seconds, the three-pronged metallic block_display claw glides across the cabinet, lowers on an extendable iron cable, clamps shut around the diamond helmet, lifts it overhead, and drops it straight down the prize chute in a trail of cyan sparkles.

1. Setup - type these once 10 commands

  1. /fill ~-4 ~0 ~-4 ~4 ~10 ~4 minecraft:magenta_concrete hollow
  2. /fill ~-3 ~2 ~-3 ~3 ~2 ~3 minecraft:cyan_concrete
  3. /fill ~-3 ~3 ~-4 ~3 ~8 ~4 minecraft:glass replace minecraft:magenta_concrete
  4. /fill ~-4 ~3 ~-3 ~4 ~8 ~3 minecraft:glass replace minecraft:magenta_concrete
  5. /fill ~-4 ~9 ~-4 ~4 ~9 ~4 minecraft:sea_lantern replace minecraft:magenta_concrete
  6. /fill ~-2 ~1 ~2 ~-2 ~2 ~4 minecraft:air
  7. /scoreboard objectives add c9_t dummy
  8. /summon minecraft:item_display ~ ~3.5 ~ {Tags:["c9_e"],Passengers:[{id:"minecraft:item_display",Tags:["c9_e"],glowing:1b,item:{id:"minecraft:golden_apple",count:1},transformation:{left_rotation:[0f,0.38f,0f,0.92f],right_rotation:[0f,0f,0f,1f],translation:[-2f,0.1f,-2f],scale:[1.8f,1.8f,1.8f]}},{id:"minecraft:item_display",Tags:["c9_e"],glowing:1b,item:{id:"minecraft:nether_star",count:1},transformation:{left_rotation:[0f,-0.38f,0f,0.92f],right_rotation:[0f,0f,0f,1f],translation:[2f,0.1f,2f],scale:[1.8f,1.8f,1.8f]}},{id:"minecraft:item_display",Tags:["c9_e"],glowing:1b,item:{id:"minecraft:emerald",count:1},transformation:{left_rotation:[0f,0.2f,0f,0.98f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.1f,-2.2f],scale:[1.8f,1.8f,1.8f]}},{id:"minecraft:item_display",Tags:["c9_e"],glowing:1b,item:{id:"minecraft:diamond_sword",count:1},transformation:{left_rotation:[0f,0.71f,0f,0.71f],right_rotation:[0f,0f,0f,1f],translation:[2f,0.2f,0f],scale:[1.8f,1.8f,1.8f]}}]}
  9. /summon minecraft:item_display ~2 ~3.6 ~-2 {Tags:["c9_e","c9_helmet"],teleport_duration:2,glowing:1b,item:{id:"minecraft:diamond_helmet",count:1,components:{"minecraft:enchantment_glint_override":true}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}
  10. /summon minecraft:block_display ~-2 ~7.5 ~2 {Tags:["c9_e","c9_claw"],teleport_duration:2,block_state:{Name:"minecraft:iron_block"},transformation:[0.9f,0f,0f,-0.45f,0f,0.45f,0f,0f,0f,0f,0.9f,-0.45f,0f,0f,0f,1f],Passengers:[{id:"minecraft:block_display",Tags:["c9_c"],block_state:{Name:"minecraft:iron_block"},transformation:[0.16f,0f,0f,-0.08f,0f,2.1f,0f,0.45f,0f,0f,0.16f,-0.08f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],Rotation:[0f,0f],block_state:{Name:"minecraft:iron_block"},transformation:[0.16f,0f,0f,-0.08f,0f,0.901f,0.092f,-0.85f,0f,-0.631f,0.131f,0.98f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],Rotation:[120f,0f],block_state:{Name:"minecraft:iron_block"},transformation:[0.16f,0f,0f,-0.08f,0f,0.901f,0.092f,-0.85f,0f,-0.631f,0.131f,0.98f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],Rotation:[240f,0f],block_state:{Name:"minecraft:iron_block"},transformation:[0.16f,0f,0f,-0.08f,0f,0.901f,0.092f,-0.85f,0f,-0.631f,0.131f,0.98f,0f,0f,0f,1f]}]}

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

  1. /scoreboard players add @e[tag=c9_claw,limit=1] c9_t 1
  2. /execute as @e[tag=c9_claw,scores={c9_t=160..}] run scoreboard players set @s c9_t 0
  3. /execute if entity @e[tag=c9_claw,scores={c9_t=0}] run tp @e[tag=c9_helmet,limit=1] ~2 ~3.6 ~-2
  4. /execute as @e[tag=c9_claw,scores={c9_t=16..47}] at @s run tp @s ~0.125 ~0 ~-0.125
  5. /execute if entity @e[tag=c9_claw,scores={c9_t=48}] as @e[tag=c9_c,limit=1] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.08f,0.45f,-0.08f],scale:[0.16f,5.1f,0.16f]}}
  6. /execute as @e[tag=c9_claw,scores={c9_t=48..72}] at @s run tp @s ~0 ~-0.12 ~0
  7. /execute if entity @e[tag=c9_claw,scores={c9_t=73}] as @e[tag=c9_p] run data merge entity @s {start_interpolation:0,interpolation_duration:8,transformation:{left_rotation:[0.0698f,0f,0f,0.9976f],right_rotation:[0f,0f,0f,1f],translation:[-0.08f,-0.98f,0.19f],scale:[0.16f,1.1f,0.16f]}}
  8. /execute if entity @e[tag=c9_claw,scores={c9_t=83}] as @e[tag=c9_c,limit=1] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.08f,0.45f,-0.08f],scale:[0.16f,2.1f,0.16f]}}
  9. /execute as @e[tag=c9_claw,scores={c9_t=83..107}] at @s run tp @s ~0 ~0.12 ~0
  10. /execute as @e[tag=c9_claw,scores={c9_t=108..139}] at @s run tp @s ~-0.125 ~0 ~0.125
  11. /execute if entity @e[tag=c9_claw,scores={c9_t=83..139}] at @e[tag=c9_claw,limit=1] run tp @e[tag=c9_helmet,limit=1] ~ ~-0.9 ~
  12. /execute if entity @e[tag=c9_claw,scores={c9_t=140}] as @e[tag=c9_p] run data merge entity @s {start_interpolation:0,interpolation_duration:6,transformation:{left_rotation:[-0.3007f,0f,0f,0.9537f],right_rotation:[0f,0f,0f,1f],translation:[-0.08f,-0.85f,0.98f],scale:[0.16f,1.1f,0.16f]}}
  13. /execute if entity @e[tag=c9_claw,scores={c9_t=140..157}] as @e[tag=c9_helmet,limit=1] at @s run tp @s ~ ~-0.27 ~0.1
  14. /execute at @e[tag=c9_helmet,limit=1] run particle minecraft:dust{color:[0.1,0.95,1.0],scale:1.4} ~ ~ ~ 0.4 0.4 0.4 0 3

How it works

Frames from the test run

Giant Arcade Prize Claw Machine - frame 1Giant Arcade Prize Claw Machine - frame 2Giant Arcade Prize Claw Machine - frame 3

Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A large magenta concrete arcade claw machine with sea lanterns and glass walls contains oversized items like a golden apple, emerald, nether star, and diamond helmet, while a metallic three-pronged claw lowers, picks up the helmet, and drops it down the prize chute.

Build it in your world

  1. Find a flat open area at least 11x11 blocks wide with 12 blocks of clear sky above.
  2. Stand in the center of the area and run each of the 10 setup commands in order from chat or impulse command blocks.
  3. Place 14 Repeating, Unconditional, Always Active command blocks nearby and paste one loop command into each.
  4. Watch the claw automatically glide over the prize floor, lower its cable, clamp the diamond helmet, and drop it out the front chute.

Use it with real players

To make the claw machine wait for a player button press instead of looping automatically, change the second loop command so it stops when c9_t reaches 160 (remove the automatic wrap back to 0, and only increment while c9_t is between 1 and 159). Then place a button on the front of the cabinet connected to an impulse command block running /scoreboard players set @e[tag=c9_claw,limit=1] c9_t 1 and /tp @e[tag=c9_helmet,limit=1] ~2 ~3.6 ~-2 whenever you want to play a round.

Remove it again 5 commands

  1. /kill @e[tag=c9_e]
  2. /kill @e[tag=c9_c]
  3. /kill @e[tag=c9_p]
  4. /scoreboard objectives remove c9_t
  5. /fill ~-4 ~0 ~-4 ~4 ~10 ~4 minecraft:air

FAQ

Can I change which prize the claw picks up?

Yes. In the ninth setup command, change minecraft:diamond_helmet to any item ID such as minecraft:totem_of_undying or minecraft:enchanted_golden_apple.

Why did the claw move slightly off-center if I built it manually?

Make sure all setup commands and repeating loop command blocks use the exact same center coordinate for ~ ~ ~, or summon the claw at ~-2 ~7.5 ~2 relative to your cabinet center.

Commands used

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

More holograms & display entities