Build a mechanical brass and copper sawblade shield in Minecraft using vanilla display entities that unfolds into a spinning planetary gear system.
Shields & Force FieldsIndustrialTechnologyFireOrangeGoldYellowPvPBoss FightAdventure MapItem displaysArmor standsSummoned mobsGlowing outlinesRotation math21+ commands
The Clockwork Gear-Grinder Sawblade Shield is a defensive contraption made from vanilla display entities. When activated, an anchored copper and brass frame deploys in front of the user and unfolds a three-gear planetary sawblade barrier.
As the central sun gear and twin outer planet gears spin, they throw off sparks, golden dust, and flames. Any mob that walks into the grinding teeth takes rapid damage and is shredded on contact.
/scoreboard objectives add c9_t dummy/scoreboard players set #time c9_t 0/summon armor_stand ~ ~ ~-2.5 {Tags:["c9_ent","c9_actor"],NoGravity:1b,ShowArms:1b,Rotation:[0f,0f],equipment:{head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:netherite_chestplate",count:1},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:netherite_boots",count:1},mainhand:{id:"minecraft:clock",count:1}}}/summon item_display ~ ~1.5 ~-0.8 {Tags:["c9_ent","c9_frame"],Glowing:1b,glow_color_override:14188339,item:{id:"minecraft:lightning_rod",count:1},transformation:{translation:[0f,-0.3f,0f],left_rotation:[0f,0f,0f,1f],scale:[2.4f,2.8f,2.4f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~1.7 ~-0.6 {Tags:["c9_ent","c9_hub"],item:{id:"minecraft:lodestone",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,0.6f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~1.7 ~-0.5 {Tags:["c9_ent","c9_gear","c9_g_main"],Glowing:1b,glow_color_override:16766720,Rotation:[0f,-90f],item:{id:"minecraft:sunflower",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0.7071068f,0f,0f,0.7071068f],scale:[3.4f,3.4f,0.6f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~1.7 ~-0.42 {Tags:["c9_ent","c9_gear","c9_g_sub","c9_g_left"],Glowing:1b,glow_color_override:16753920,Rotation:[0f,-90f],item:{id:"minecraft:clock",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0.7071068f,0f,0f,0.7071068f],scale:[2.2f,2.2f,0.5f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~1.7 ~-0.42 {Tags:["c9_ent","c9_gear","c9_g_sub","c9_g_right"],Glowing:1b,glow_color_override:16753920,Rotation:[0f,-90f],item:{id:"minecraft:clock",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0.7071068f,0f,0f,0.7071068f],scale:[2.2f,2.2f,0.5f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~1.7 ~-0.32 {Tags:["c9_ent","c9_g_core"],item:{id:"minecraft:heavy_core",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0.9f,0.9f,0.9f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #time c9_t 1/execute if score #time c9_t matches 100.. run scoreboard players set #time c9_t 0/execute if score #time c9_t matches 1 run tp @e[tag=c9_g_sub] ~ ~1.7 ~-0.42/execute if score #time c9_t matches 12 run tp @e[tag=c9_g_left] ~-1.45 ~1.3 ~-0.42/execute if score #time c9_t matches 12 run tp @e[tag=c9_g_right] ~1.45 ~1.3 ~-0.42/execute if score #time c9_t matches 12 at @e[tag=c9_g_main] run particle gust ~ ~ ~ 0.8 0.5 0.2 0 4/execute as @e[tag=c9_gear] at @s run tp @s ~ ~ ~ ~22 ~-90/execute as @e[tag=c9_g_core] at @s run tp @s ~ ~ ~ ~-25 ~/execute at @e[tag=c9_gear] run particle crit ~ ~ ~ 0.65 0.65 0.1 0.25 4/execute at @e[tag=c9_gear] run particle dust{color:[1.0,0.75,0.1],scale:1.5} ~ ~ ~ 0.7 0.7 0.15 0 3/execute at @e[tag=c9_g_sub] run particle flame ~ ~ ~ 0.35 0.35 0.1 0.04 2/execute if score #time c9_t matches 18 run summon husk ~-1.0 ~ ~2.8 {Tags:["c9_ent","c9_mob"],Rotation:[180f,0f],equipment:{head:{id:"minecraft:iron_helmet",count:1}}}/execute if score #time c9_t matches 18 run summon husk ~1.0 ~ ~2.8 {Tags:["c9_ent","c9_mob"],Rotation:[180f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1}}}/execute as @e[tag=c9_mob] at @s run tp @s ~ ~ ~-0.12/execute at @e[tag=c9_gear] as @e[tag=c9_mob,distance=..1.8] at @s run particle block{block_state:{Name:"minecraft:gold_block"}} ~ ~1 ~ 0.3 0.4 0.3 0.15 10/execute at @e[tag=c9_gear] as @e[tag=c9_mob,distance=..1.8] run damage @s 6 minecraft:genericsetup #6 Summons the central sun gear using a glowing <code>sunflower</code> display entity tilted 90 degrees so that changing its yaw spins the gear upright like a vertical sawblade.setup #7 Summons the left planetary gear using a scaled <code>clock</code> item display with a warm orange glow override.loop #4 On tick 12 of the cycle, the left and right planetary gears snap outward from behind the central sun gear into their deployed positions.loop #7 Rotates all three sawblade gears continuously around the horizontal Z axis by incrementing their yaw while keeping their pitch locked at -90 degrees.loop #16 Runs <code>/damage @s</code> as each mob that comes within 1.8 blocks of any spinning gear, ensuring the single-entity target rule of the damage command is respected.


Recorded on our own test server: 55 frames at about 9.0 fps. Our image check saw: A glowing three-gear contraption with a central post and two outer spinning wheels emits flames and explosions while damaging husks in front of it.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To attach the shield to a real player holding a clock instead of the demo armor stand, replace the fixed stage coordinates in the gear teleport commands with /execute at @a[nbt={SelectedItem:{id:"minecraft:clock"}}] anchored eyes run tp ... ^ ^-0.2 ^1.8 ~ ~-90 so the planetary gears stay hovering right in front of your crosshair.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_tIn Minecraft Java Edition, /damage only accepts a single entity target. Wrapping it in execute as @e[tag=c9_mob,distance=..1.8] run damage @s applies the damage individually to each mob in range.
Each gear is pitched to -90 degrees and given a 90-degree X-axis left_rotation in its transformation matrix. That aligns the entity's yaw rotation axis horizontally forward, so adding yaw every tick spins the item upright.
▶Spiro-Gyre Gyroscope Barrier in Vanilla Minecraft CommandsShields & Force FieldsHard24 cmds
▶Cuckoo-Clock Bird-House Spring Punch-ShieldShields & Force FieldsMedium24 cmds
▶Magnetic Ferrofluid Spike-Morph ShieldShields & Force FieldsExpert24 cmds
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Phenakistoscope Zoetrope Illusion ShieldShields & Force FieldsExpert24 cmds
▶Steampunk Piston-Hammer Pilebunker GauntletProjectiles & MissilesMedium24 cmds