Molten Foundry Crucible Mob Spawner

Replace standard mob spawners with an automated industrial foundry that pours molten magma from a suspended crucible into a mold to forge armored mobs.

Java EditionMini-games & UtilitiesHard23 commandsTested on a real 26.2 & 26.3 server
A hanging crucible pours molten fire onto a magma basin to spawn an armored skeleton. Download the GIF Video & GIF © www.9minecraft.net

Spawners & GeneratorsIndustrialFireNetherOrangeBlackRedAdventure MapBoss FightMap MakingBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands

Instead of a simple spinning cage, this command creation builds an industrial foundry at the center of your floor. A large iron crucible hangs from a blackstone frame above a glowing magma mold. Every seven seconds, the crucible tilts forward and pours a stream of liquid fire into the basin below.

As the mold fills up, water jets quench the molten metal in a cloud of steam, cooling the surface into solid iron before an armored Foundry Golem rises from the platform.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 polished_blackstone_bricks
  3. /fill ~-2 ~ ~-2 ~2 ~ ~2 chiseled_polished_blackstone
  4. /fill ~-1 ~ ~-1 ~1 ~ ~1 magma_block
  5. /fill ~-3 ~ ~-2 ~-3 ~8 ~-2 polished_blackstone_brick_wall
  6. /fill ~3 ~ ~-2 ~3 ~8 ~-2 polished_blackstone_brick_wall
  7. /fill ~-3 ~8 ~-2 ~3 ~8 ~-2 iron_bars
  8. /summon block_display ~ ~6 ~-2 {Tags:["c9_foundry","c9_ladle"],block_state:{Name:"minecraft:cauldron"},Glowing:1b,glow_color_override:16755200,transformation:{translation:[-1.2f,-0.5f,-1.2f],scale:[2.4f,2.0f,2.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]},interpolation_duration:20}
  9. /summon block_display ~ ~0.2 ~ {Tags:["c9_foundry","c9_fill"],block_state:{Name:"minecraft:magma_block"},Glowing:1b,glow_color_override:16733440,transformation:{translation:[-1.4f,0.0f,-1.4f],scale:[2.8f,0.05f,2.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]},interpolation_duration:25}

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

  1. /scoreboard players add #c9_tick c9_timer 1
  2. /execute if score #c9_tick c9_timer matches 140.. run scoreboard players set #c9_tick c9_timer 0
  3. /particle flame ~ ~0.6 ~ 1.8 0.2 1.8 0.01 4 force
  4. /execute if score #c9_tick c9_timer matches 1 run data merge entity @e[tag=c9_ladle,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.2f,-0.5f,-1.2f],scale:[2.4f,2.0f,2.4f],left_rotation:[0.45f,0.0f,0.0f,0.89f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /execute if score #c9_tick c9_timer matches 15..65 run particle lava ~ ~5.5 ~-0.6 0.25 0.2 0.25 0.1 6 force
  6. /execute if score #c9_tick c9_timer matches 15..65 run particle dust{color:[1.0,0.35,0.0],scale:3.0} ~ ~3.2 ~-0.2 0.2 2.0 0.2 0 22 force
  7. /execute if score #c9_tick c9_timer matches 15..65 run particle landing_lava ~ ~1.2 ~ 1.1 0.1 1.1 0.05 15 force
  8. /execute if score #c9_tick c9_timer matches 20 run data merge entity @e[tag=c9_fill,limit=1] {start_interpolation:0,interpolation_duration:45,block_state:{Name:"minecraft:magma_block"},glow_color_override:16733440,transformation:{translation:[-1.4f,0.0f,-1.4f],scale:[2.8f,1.15f,2.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /execute if score #c9_tick c9_timer matches 65 run data merge entity @e[tag=c9_ladle,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.2f,-0.5f,-1.2f],scale:[2.4f,2.0f,2.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /execute if score #c9_tick c9_timer matches 70 run data merge entity @e[tag=c9_fill,limit=1] {block_state:{Name:"minecraft:iron_block"},glow_color_override:11184810}
  11. /execute if score #c9_tick c9_timer matches 70..100 run particle cloud ~ ~1.4 ~ 1.0 0.4 1.0 0.04 10 force
  12. /execute if score #c9_tick c9_timer matches 70..95 run particle splash ~ ~1.3 ~ 1.2 0.2 1.2 0.2 25 force
  13. /execute if score #c9_tick c9_timer matches 105 run data merge entity @e[tag=c9_fill,limit=1] {start_interpolation:0,interpolation_duration:5,transformation:{translation:[-1.4f,0.0f,-1.4f],scale:[2.8f,0.05f,2.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  14. /execute if score #c9_tick c9_timer matches 105 unless entity @e[tag=c9_mob,distance=..18] run summon wither_skeleton ~ ~1.2 ~ {Tags:["c9_foundry","c9_mob"],CustomName:{"text":"Foundry Golem","color":"gold"},Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:netherite_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:netherite_boots",count:1},mainhand:{id:"minecraft:iron_axe",count:1}}}

How it works

Frames from the test run

Molten Foundry Crucible Mob Spawner - frame 1Molten Foundry Crucible Mob Spawner - frame 2Molten Foundry Crucible Mob Spawner - frame 3

Recorded on our own test server: 30 frames at about 4.2 fps. Our image check saw: A glowing cauldron hangs from a blackstone and iron bar frame, tilting to pour fire and lava particles onto a magma block basin where an armored skeleton spawns amidst water particles.

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 at the center of a flat open area where you want the foundry spawner to stand.
  2. Run each of the 9 setup commands in chat to create the scoreboard objective, build the blackstone frame, and summon the two block displays.
  3. Place a repeating command block set to Always Active beneath the platform and paste the first loop command into it.
  4. Attach 13 chain command blocks (Always Active, Unconditional) in a line and paste the remaining loop commands in order.
  5. Make sure all repeating and chain command blocks execute relative to the center block above the floor using <code>/execute positioned X Y Z run ...</code> if placed underground.
  6. Watch the 7-second cycle tilt the crucible, fill the basin, quench the iron, and spawn a Foundry Golem.

Use it with real players

To make the foundry only operate when a survival player is nearby like a vanilla mob spawner, prepend execute if entity @a[distance=..16] run to the first loop command so the timer only advances when a player approaches within 16 blocks.

Remove it again 4 commands

  1. /kill @e[tag=c9_foundry]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-4 ~ ~-4 ~4 ~9 ~4 air
  4. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 grass_block

FAQ

Why does the foundry stop spawning new mobs after the first one?

The final command checks for any existing entity tagged c9_mob within 18 blocks so your server never lags from endless mobs. Kill or lead the current Foundry Golem away to let the next cycle forge a new one.

Can I change which mob is forged in the mold?

Yes. Edit the last loop command and replace wither_skeleton and its equipment NBT with any mob you want, such as a blaze, iron_golem, or zombie_villager.

Commands used

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

Similar creations

Join 9Minecraft News & Guides