Magnetic Scrap-Yard Juggernaut Assembly

A hovering lodestone core pulls scattered anvils, chains, and iron bars into a crackling magnetic vortex before forging a massive Scrap-Yard Juggernaut.

Java EditionMobs & PetsExpert21 commandsTested on a real 26.2 & 26.3 server
Glowing metal items and blue particles swirl around a lodestone to assemble an iron golem. Download the GIF Video & GIF © www.9minecraft.net

Boss IntrosIndustrialTechnologyLightningBlueCyanWhiteBoss FightCinematicAdventure MapBlock displaysRiding & passengersSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands

This command creation builds an automated magnetic assembly sequence right in front of you. A glowing lodestone core hovers above the ground, pulling dozens of scattered anvils, chains, hoppers, and iron bars off the grass into a swirling tornado of blue sparks and soul fire.

When the magnetic vortex reaches full speed, the scrap metal slams into the center with a loud metallic crash to forge a giant, glowing Scrap-Yard Juggernaut surrounded by orbiting metallic armor.

1. Setup - type these once 7 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /scoreboard players set #time c9_tick 0
  3. /summon block_display ~ ~2.5 ~ {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:lodestone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.0f,1.0f,1.0f],translation:[-0.5f,-0.5f,-0.5f]}}
  4. /execute as @e[tag=c9_core] run summon area_effect_cloud ~ ~ ~ {Duration:5,Radius:0.1f,Passengers:[{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:11184810,block_state:{Name:"minecraft:anvil"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,0.75f,0.75f],translation:[-0.37f,-0.37f,-0.37f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:iron_bars",Properties:{east:"true",west:"true"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,-0.4f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:heavy_core"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.85f,0.85f,0.85f],translation:[-0.42f,-0.42f,-0.42f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],block_state:{Name:"minecraft:chain",Properties:{axis:"y"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,-0.4f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:11184810,block_state:{Name:"minecraft:damaged_anvil"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,-0.35f,-0.35f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],block_state:{Name:"minecraft:raw_iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,0.65f,0.65f],translation:[-0.32f,-0.32f,-0.32f]}}]}
  5. /execute as @e[tag=c9_scrap] run summon area_effect_cloud ~ ~ ~ {Duration:5,Radius:0.1f,Passengers:[{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],block_state:{Name:"minecraft:iron_bars",Properties:{north:"true",south:"true"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,0.75f,0.75f],translation:[-0.37f,-0.37f,-0.37f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:chipped_anvil"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,0.65f,0.65f],translation:[-0.32f,-0.32f,-0.32f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],block_state:{Name:"minecraft:chain",Properties:{axis:"x"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,-0.4f,-0.4f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:iron_trapdoor"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,0.75f,0.75f],translation:[-0.37f,-0.37f,-0.37f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],block_state:{Name:"minecraft:blast_furnace"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,0.65f,0.65f],translation:[-0.32f,-0.32f,-0.32f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_scrap"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:hopper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,-0.35f,-0.35f]}}]}
  6. /execute as @e[tag=c9_scrap] run ride @s dismount
  7. /spreadplayers ~ ~ 2 10 false @e[tag=c9_scrap]

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

  1. /scoreboard players add #time c9_tick 1
  2. /execute if score #time c9_tick matches 180.. run scoreboard players set #time c9_tick 1
  3. /execute if score #time c9_tick matches 1 run tp @e[tag=c9_mech] ~ ~-100 ~
  4. /execute if score #time c9_tick matches 1 run tp @e[tag=c9_core] ~ ~2.5 ~
  5. /execute if score #time c9_tick matches 1 run spreadplayers ~ ~ 2 10 false @e[tag=c9_scrap]
  6. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~15 ~
  7. /execute at @e[tag=c9_core] run particle electric_spark ~ ~ ~ 0.6 0.6 0.6 0.15 5 force
  8. /execute if score #time c9_tick matches 5..45 as @e[tag=c9_scrap] at @s facing entity @e[tag=c9_core,limit=1] eyes run tp @s ^0.24 ^0.06 ^0.18 ~22 ~
  9. /execute if score #time c9_tick matches 46..59 as @e[tag=c9_scrap] at @s facing entity @e[tag=c9_core,limit=1] eyes run tp @s ^0.15 ^ ^0.45 ~35 ~
  10. /execute if score #time c9_tick matches 5..59 at @e[tag=c9_scrap] run particle dust{color:[0.2,0.8,1.0],scale:0.9} ~ ~ ~ 0.05 0.05 0.05 0 1
  11. /execute if score #time c9_tick matches 60 at @e[tag=c9_core] run summon iron_golem ~ ~-2.5 ~ {Tags:["c9_ent","c9_mech"],CustomName:{"text":"Scrap-Yard Juggernaut","color":"aqua","bold":true},CustomNameVisible:1b,Glowing:1b,Health:100f,attributes:[{id:"minecraft:scale",base:1.45d},{id:"minecraft:movement_speed",base:0.18d}]}
  12. /execute if score #time c9_tick matches 60 at @e[tag=c9_core] run particle explosion_emitter ~ ~-1 ~ 0 0 0 0 1 force
  13. /execute if score #time c9_tick matches 60 at @e[tag=c9_core] run playsound minecraft:block.anvil.place master @a ~ ~ ~ 2.0 0.6
  14. /execute if score #time c9_tick matches 61..179 at @e[tag=c9_mech] run tp @e[tag=c9_core,limit=1] ~ ~2.2 ~ ~20 ~

How it works

Frames from the test run

Magnetic Scrap-Yard Juggernaut Assembly - frame 1Magnetic Scrap-Yard Juggernaut Assembly - frame 2Magnetic Scrap-Yard Juggernaut Assembly - frame 3

Recorded on our own test server: 58 frames at about 9.5 fps. Our image check saw: A glowing lodestone surrounded by glowing anvils, chains, trapdoors, and blue particles on the grass, along with a glowing iron golem loaded with metal blocks.

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. Stand in the center of a flat open area and run each command from the Setup list one by one in chat.
  2. Watch as 42 pieces of metallic scrap spawn and scatter across the grass around the hovering lodestone core.
  3. Place a line of 14 Repeating Command Blocks set to Always Active near your stage.
  4. Paste one Loop command into each repeating command block.
  5. Step back and watch the magnetic core pull the scrap off the ground into a swirling blue vortex that slams together into the Scrap-Yard Juggernaut.

Use it with real players

To trigger the magnetic assembly whenever a player drops a Lodestone item on the ground instead of looping automatically, remove the 180.. reset command and replace it with an execute check searching for a dropped lodestone item: /execute at @e[type=item,nbt={Item:{id:"minecraft:lodestone"}}] run scoreboard players set #time c9_tick 1, then kill the dropped item so the vortex begins right at that spot.

Remove it again 3 commands

  1. /tp @e[tag=c9_mech] ~ ~-100 ~
  2. /kill @e[tag=c9_ent]
  3. /scoreboard objectives remove c9_tick

FAQ

Why did the previous ride dismount command fail?

The /ride command requires a single entity target, so running /ride @e[tag=c9_scrap] dismount directly throws an error when multiple scrap entities exist. Wrapping it in /execute as @e[tag=c9_scrap] run ride @s dismount dismounts each piece individually.

How do the scrap blocks swirl in a circle without trigonometric math?

Each tick, every scrap display faces the central lodestone core and teleports simultaneously sideways (^0.24), slightly upward (^0.06), and slightly forward (^0.18). Moving tangentially while stepping inward naturally produces a tight 3D spiral.

Commands used

/execute/particle/playsound/ride/scoreboard/spreadplayers/summon/tp

Similar creations

Join 9Minecraft News & Guides