Loyal Clockwork Hound Fetch Routine

A brass-and-copper mechanical dog with spinning gear joints wags its tail, chases a bouncing glowing bone across the grass, and trots back to sit.

Java EditionMobs & PetsMediumTested on a real 26.2 & 26.3 server
A small copper clockwork dog chases a glowing bone thrown by an armor stand on grass. Download the GIF

Watch a mechanical brass-and-copper hound spring into motion on the grass. Built from scaled block_display and item_display parts, it features a glowing cyan visor, four spinning copper-grate gear joints, and a golden tail that wags nonstop.

Every few seconds, the stand-in caretaker tosses a glowing bone across the stage. The hound pivots toward the bouncing bone, sprints after it, scoops it up in its snout, trots proudly back to its owner, and leans back into a sitting pose.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_hound dummy
  2. /scoreboard players set #tick c9_hound 0
  3. /data modify storage c9:hound q set value [{g:[0f,0f,0f,1f],t:[0f,0.966f,0.259f,0f]},{g:[0.259f,0f,0f,0.966f],t:[0.034f,0.957f,0.257f,-0.127f]},{g:[0.5f,0f,0f,0.866f],t:[0.058f,0.941f,0.252f,-0.217f]},{g:[0.707f,0f,0f,0.707f],t:[0.067f,0.933f,0.25f,-0.25f]},{g:[0.866f,0f,0f,0.5f],t:[0.058f,0.941f,0.252f,-0.217f]},{g:[0.966f,0f,0f,0.259f],t:[0.034f,0.957f,0.257f,-0.127f]},{g:[1f,0f,0f,0f],t:[0f,0.966f,0.259f,0f]},{g:[0.966f,0f,0f,-0.259f],t:[-0.034f,0.957f,0.257f,0.127f]},{g:[0.866f,0f,0f,-0.5f],t:[-0.058f,0.941f,0.252f,0.217f]},{g:[0.707f,0f,0f,-0.707f],t:[-0.067f,0.933f,0.25f,0.25f]},{g:[0.5f,0f,0f,-0.866f],t:[-0.058f,0.941f,0.252f,0.217f]},{g:[0.259f,0f,0f,-0.966f],t:[-0.034f,0.957f,0.257f,0.127f]}]
  4. /summon minecraft:armor_stand ~-4.2 ~ ~ {Tags:["c9_actor"],Rotation:[-90f,0f],NoGravity:1b,ShowArms:1b,NoBasePlate:1b,Invulnerable:1b,equipment:{head:{id:"minecraft:waxed_cut_copper",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1},mainhand:{id:"minecraft:bone",count:1}}}
  5. /summon minecraft:item ~-2.85 ~0.1 ~ {Tags:["c9_bone","c9_spark"],Glowing:1b,Invulnerable:1b,PickupDelay:32767s,Age:-32768s,Item:{id:"minecraft:bone",count:1}}
  6. /summon minecraft:marker ~-2.0 ~ ~ {Tags:["c9_hound","c9_spark"],Rotation:[90f,-18f],Passengers:[{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:waxed_copper_block"},transformation:[0.46f,0f,0f,-0.23f,0f,0.4f,0f,0.32f,0f,0f,0.84f,-0.42f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:gold_block"},transformation:[0.5f,0f,0f,-0.25f,0f,0.44f,0f,0.3f,0f,0f,0.22f,0.22f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:waxed_cut_copper"},transformation:[0.14f,0f,0f,0.11f,0f,0.34f,0f,0f,0f,0f,0.14f,0.26f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:waxed_cut_copper"},transformation:[0.14f,0f,0f,-0.25f,0f,0.34f,0f,0f,0f,0f,0.14f,0.26f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:sea_lantern"},transformation:[0.32f,0f,0f,-0.16f,0f,0.08f,0f,0.78f,0f,0f,0.06f,0.69f,0f,0f,0f,1f]}]}
  7. /summon minecraft:block_display ~-2.0 ~ ~ {Tags:["c9_sub1","c9_p"],Rotation:[90f,-18f],block_state:{Name:"minecraft:waxed_cut_copper"},transformation:[0.38f,0f,0f,-0.19f,0f,0.36f,0f,0.58f,0f,0f,0.38f,0.34f,0f,0f,0f,1f],Passengers:[{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:gold_block"},transformation:[0.24f,0f,0f,-0.12f,0f,0.18f,0f,0.58f,0f,0f,0.22f,0.7f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:waxed_cut_copper"},transformation:[0.14f,0f,0f,0.11f,0f,0.34f,0f,0f,0f,0f,0.14f,-0.38f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_p"],block_state:{Name:"minecraft:waxed_cut_copper"},transformation:[0.14f,0f,0f,-0.25f,0f,0.34f,0f,0f,0f,0f,0.14f,-0.38f,0f,0f,0f,1f]},{id:"minecraft:item_display",Tags:["c9_gear","c9_p"],item:{id:"minecraft:waxed_copper_grate",count:1},transformation:{translation:[0.24f,0.34f,0.3f],left_rotation:[0f,0f,0f,1f],scale:[0.08f,0.32f,0.32f],right_rotation:[0f,0f,0f,1f]}}]}
  8. /ride @e[tag=c9_sub1,limit=1] mount @e[tag=c9_hound,limit=1]
  9. /summon minecraft:block_display ~-2.0 ~ ~ {Tags:["c9_tail","c9_p"],Rotation:[90f,-18f],block_state:{Name:"minecraft:gold_block"},transformation:{translation:[0.06f,0.64f,-0.42f],left_rotation:[0f,0.966f,0.259f,0f],scale:[0.12f,0.12f,0.44f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:item_display",Tags:["c9_gear","c9_p"],item:{id:"minecraft:waxed_copper_grate",count:1},transformation:{translation:[-0.24f,0.34f,0.3f],left_rotation:[0f,0f,0f,1f],scale:[0.08f,0.32f,0.32f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:item_display",Tags:["c9_gear","c9_p"],item:{id:"minecraft:waxed_copper_grate",count:1},transformation:{translation:[0.24f,0.34f,-0.31f],left_rotation:[0f,0f,0f,1f],scale:[0.08f,0.32f,0.32f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:item_display",Tags:["c9_gear","c9_p"],item:{id:"minecraft:waxed_copper_grate",count:1},transformation:{translation:[-0.24f,0.34f,-0.31f],left_rotation:[0f,0f,0f,1f],scale:[0.08f,0.32f,0.32f],right_rotation:[0f,0f,0f,1f]}}]}
  10. /ride @e[tag=c9_tail,limit=1] mount @e[tag=c9_hound,limit=1]

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

  1. /scoreboard players add #tick c9_hound 1
  2. /execute if score #tick c9_hound matches 140.. run scoreboard players set #tick c9_hound 0
  3. /execute if score #tick c9_hound matches 1 run data merge entity @e[tag=c9_bone,limit=1] {Motion:[0.28d,0.32d,0.05d],Age:-32768s}
  4. /execute if score #tick c9_hound matches 10..42 as @e[tag=c9_bone,nbt={OnGround:1b}] run data merge entity @s {Motion:[0.18d,0.18d,0.03d]}
  5. /execute if score #tick c9_hound matches 53..95 at @e[tag=c9_hound,limit=1] run tp @e[tag=c9_bone] ^ ^0.55 ^0.85
  6. /execute if score #tick c9_hound matches 18..52 as @e[tag=c9_hound] at @s if entity @e[tag=c9_bone,distance=0.9..] facing entity @e[tag=c9_bone,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^0.22 facing ^ ^ ^5
  7. /execute if score #tick c9_hound matches 53..95 as @e[tag=c9_hound] at @s if entity @e[tag=c9_actor,distance=2.2..] facing entity @e[tag=c9_actor,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^0.21 facing ^ ^ ^5
  8. /execute if score #tick c9_hound matches 96 run data merge entity @e[tag=c9_hound,limit=1] {Rotation:[90f,-18f]}
  9. /execute as @e[tag=c9_p] run data modify entity @s Rotation set from entity @e[tag=c9_hound,limit=1] Rotation
  10. /data modify storage c9:hound q append from storage c9:hound q[0]
  11. /data remove storage c9:hound q[0]
  12. /execute as @e[tag=c9_gear] run data modify entity @s transformation.left_rotation set from storage c9:hound q[0].g
  13. /execute as @e[tag=c9_tail] run data modify entity @s transformation.left_rotation set from storage c9:hound q[0].t
  14. /execute at @e[tag=c9_spark] run particle minecraft:dust{color:[1.0,0.75,0.15],scale:1.1} ~ ~0.4 ~ 0.22 0.22 0.22 0.02 2

How it works

Frames from the test run

Loyal Clockwork Hound Fetch Routine - frame 1Loyal Clockwork Hound Fetch Routine - frame 2Loyal Clockwork Hound Fetch Routine - frame 3

Recorded on our own test server: 40 frames at about 5.7 fps. Our image check saw: From a distant view on a grassy platform, a gold-armored stand holding a bone tosses a glowing bone with orange particles while a tiny copper-and-gold mechanical dog turns toward it.

Build it in your world

  1. Find a flat grassy area at least 15x15 blocks wide and stand at the center.
  2. Run each of the 10 setup commands once in chat or from impulse command blocks in order so the stand-in caretaker, glowing bone, and clockwork hound spawn and mount together.
  3. Place 14 repeating, always-active command blocks nearby (or in a chain of always-active repeating blocks) and paste the 14 loop commands in order.
  4. Watch the caretaker toss the glowing bone across the grass while the hound chases it down, carries it back, and sits.
  5. To stop and clean up the creation, disable the loop command blocks first and run the removal commands.

Use it with real players

To play fetch with your own character instead of the armor stand, replace @e[tag=c9_actor,limit=1] and @e[tag=c9_actor,distance=2.2..] in loop command 7 with @p and @p[distance=2.2..], and change loop command 3 to launch the bone from @p's position (or trigger /scoreboard players set #tick c9_hound 1 whenever you throw a bone).

Remove it again 6 commands

  1. /kill @e[tag=c9_p]
  2. /kill @e[tag=c9_hound]
  3. /kill @e[tag=c9_bone]
  4. /kill @e[tag=c9_actor]
  5. /scoreboard objectives remove c9_hound
  6. /data remove storage c9:hound q

FAQ

Why are the gear joints and tail summoned on separate entities and mounted with /ride?

Putting every display part into one summon command would exceed Minecraft's chat and command block character limits. Grouping parts onto two sub-entities and mounting them with /ride keeps every command under 1000 characters while still moving as one dog.

Can I change how fast the hound runs or how far the bone bounces?

Yes. Adjust the forward step ^ ^ ^0.22 in loop command 6 to change chase speed, or increase the first number in Motion:[0.28d,0.32d,0.05d] in loop command 3 to throw the bone farther.

Commands used

/data/execute/particle/ride/scoreboard/summon/tp

More mobs & pets