Watch a giant glass arcade claw machine automatically lower its three metallic prongs, grab a glowing diamond helmet, and drop it down the chute.
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.
/fill ~-4 ~0 ~-4 ~4 ~10 ~4 minecraft:magenta_concrete hollow/fill ~-3 ~2 ~-3 ~3 ~2 ~3 minecraft:cyan_concrete/fill ~-3 ~3 ~-4 ~3 ~8 ~4 minecraft:glass replace minecraft:magenta_concrete/fill ~-4 ~3 ~-3 ~4 ~8 ~3 minecraft:glass replace minecraft:magenta_concrete/fill ~-4 ~9 ~-4 ~4 ~9 ~4 minecraft:sea_lantern replace minecraft:magenta_concrete/fill ~-2 ~1 ~2 ~-2 ~2 ~4 minecraft:air/scoreboard objectives add c9_t dummy/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]}}]}/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]}}/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]}]}/scoreboard players add @e[tag=c9_claw,limit=1] c9_t 1/execute as @e[tag=c9_claw,scores={c9_t=160..}] run scoreboard players set @s c9_t 0/execute if entity @e[tag=c9_claw,scores={c9_t=0}] run tp @e[tag=c9_helmet,limit=1] ~2 ~3.6 ~-2/execute as @e[tag=c9_claw,scores={c9_t=16..47}] at @s run tp @s ~0.125 ~0 ~-0.125/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]}}/execute as @e[tag=c9_claw,scores={c9_t=48..72}] at @s run tp @s ~0 ~-0.12 ~0/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]}}/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]}}/execute as @e[tag=c9_claw,scores={c9_t=83..107}] at @s run tp @s ~0 ~0.12 ~0/execute as @e[tag=c9_claw,scores={c9_t=108..139}] at @s run tp @s ~-0.125 ~0 ~0.125/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 ~/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]}}/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/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 3setup #3 Replaces only the magenta concrete on the front and back faces with clear glass, leaving the four corner pillars and upper trim intact.setup #8 Spawns four giant glowing item_display prizes (golden apple, nether star, emerald, and diamond sword) as passengers offset onto the cyan floor.setup #10 Summons the claw hub with teleport_duration:2 for smooth movement, carrying the iron cable and three prongs rotated at 0, 120, and 240 degrees.loop #5 At tick 48, stretches the iron cable scale smoothly over 25 ticks so it stays connected to the ceiling while the claw lowers.loop #7 At tick 73, interpolates all three claw prongs inward simultaneously to grip the giant diamond helmet.loop #11 Keeps the diamond helmet locked 0.9 blocks below the claw while lifting and carrying it back over to the prize chute.loop #12 Opens the three prongs again at tick 140 so the helmet falls down the chute and slides into the front opening.


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.
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.
/kill @e[tag=c9_e]/kill @e[tag=c9_c]/kill @e[tag=c9_p]/scoreboard objectives remove c9_t/fill ~-4 ~0 ~-4 ~4 ~10 ~4 minecraft:airYes. In the ninth setup command, change minecraft:diamond_helmet to any item ID such as minecraft:totem_of_undying or minecraft:enchanted_golden_apple.
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.