Build an automated smelting foundry in Minecraft using display entities, hydraulic stamping presses, glowing ores, and fiery blast furnace tunnels.
Machines & MechanismsIndustrialFireTechnologyOrangeGoldBlackDecorationMap MakingLearningParticlesBlock displaysItem displaysSmooth animation (interpolation)Scoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlines21+ commands
This command creation builds a working industrial assembly line right in the middle of your world. Dual conveyor belts carry glowing blocks of raw gold and raw copper through a heavy hydraulic stamping press that crushes the chunks into flat plates with a burst of lava sparks.
After being stamped, the flattened plates travel through a flaming blast furnace tunnel where they smelt into solid blocks of shiny gold and copper before dropping into the collection hoppers at the end of the line.
/scoreboard objectives add c9_tick dummy/fill ~-8 ~ ~-4 ~8 ~ ~4 polished_deepslate/fill ~-7 ~1 ~-2 ~6 ~1 ~-2 polished_blackstone_brick_slab[type=bottom]/fill ~-7 ~1 ~2 ~6 ~1 ~2 polished_blackstone_brick_slab[type=bottom]/fill ~7 ~1 ~-2 ~7 ~1 ~2 hopper/fill ~-3 ~1 ~-3 ~-3 ~4 ~3 polished_blackstone_bricks/fill ~-3 ~1 ~-2 ~-3 ~3 ~2 air/fill ~2 ~1 ~-3 ~3 ~4 ~3 blast_furnace[lit=true]/fill ~2 ~1 ~-2 ~3 ~2 ~2 air/summon block_display ~-3.4 ~2.6 ~-2.4 {Tags:["c9_foundry","c9_press"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[0f,0f,0f],scale:[0.8f,1.2f,4.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},interpolation_duration:3}/scoreboard players add #foundry c9_tick 1/execute if score #foundry c9_tick matches 15.. run scoreboard players set #foundry c9_tick 0/execute if score #foundry c9_tick matches 1 run summon item_display ~-7.0 ~1.85 ~-2 {Tags:["c9_foundry","c9_ore","c9_ore1"],item:{id:"minecraft:raw_gold_block",count:1},Glowing:1b,glow_color_override:16766720,transformation:{translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},teleport_duration:1,interpolation_duration:4}/execute if score #foundry c9_tick matches 1 run summon item_display ~-7.0 ~1.85 ~2 {Tags:["c9_foundry","c9_ore","c9_ore2"],item:{id:"minecraft:raw_copper_block",count:1},Glowing:1b,glow_color_override:16744231,transformation:{translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},teleport_duration:1,interpolation_duration:4}/execute as @e[tag=c9_ore] at @s run tp @s ~0.12 ~ ~/execute if score #foundry c9_tick matches 3 as @e[tag=c9_press] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,-1.1f,0f],scale:[0.8f,1.2f,4.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #foundry c9_tick matches 9 as @e[tag=c9_press] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,0f,0f],scale:[0.8f,1.2f,4.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #foundry c9_tick matches 4 run particle lava ~-3 ~1.6 ~ 0.2 0.2 1.8 0.1 16/execute positioned ~-3 ~1.85 ~-2 as @e[tag=c9_ore1,distance=..0.6] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,-0.25f,0f],scale:[1.15f,0.25f,1.15f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute positioned ~-3 ~1.85 ~2 as @e[tag=c9_ore2,distance=..0.6] run data merge entity @s {start_interpolation:0,transformation:{translation:[0f,-0.25f,0f],scale:[1.15f,0.25f,1.15f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute positioned ~2.5 ~1.85 ~-2 as @e[tag=c9_ore1,distance=..0.6] run data merge entity @s {item:{id:"minecraft:gold_block",count:1},start_interpolation:0,transformation:{translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute positioned ~2.5 ~1.85 ~2 as @e[tag=c9_ore2,distance=..0.6] run data merge entity @s {item:{id:"minecraft:copper_block",count:1},start_interpolation:0,transformation:{translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/particle flame ~2.5 ~1.9 ~ 0.4 0.3 1.8 0.02 8/execute positioned ~7 ~1.85 ~ run kill @e[tag=c9_ore,distance=..2.6]setup #10 Summons a glowing iron <code>block_display</code> stretched across both conveyor belts to act as the moving head of the hydraulic stamping press.loop #3 Spawns a glowing raw gold <code>item_display</code> at the start of the first conveyor belt every 15 ticks with <code>teleport_duration:1</code> for smooth movement.loop #6 Drives the hydraulic press down by 1.1 blocks on tick 3 using display entity transformation interpolation.loop #9 Flattens the raw gold ore into a thin metal sheet when it passes underneath the stamping press at <code>~-3 ~1.85 ~-2</code>.loop #11 Swaps the flattened raw ore item into a solid refined <code>gold_block</code> and restores its cubic shape inside the blast furnace tunnel.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: Dual conveyor belts carry glowing raw copper and gold blocks through a hydraulic press that flattens them into plates before sending them through a fiery blast furnace tunnel to become solid metal blocks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To drop real gold and copper ingots into your survival storage system at the end of the belt, replace the final loop command with an execute command that summons a real item entity above the hoppers right before killing the c9_ore display entity.
/kill @e[tag=c9_foundry]/fill ~-8 ~ ~-4 ~8 ~4 ~4 air/scoreboard objectives remove c9_tickThe item displays are summoned with teleport_duration set to 1, which tells the game client to interpolate their position between each 0.12-block teleport.
Yes, change raw_gold_block and gold_block in loop commands 3 and 11 to any other raw and refined block pair, such as raw_iron_block and iron_block.
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Critical Meltdown ReactorMachines & MechanismsHard24 cmds
▶Trench Warfare Artillery DisplayMachines & MechanismsHard24 cmds
▶Animated V8 Piston Engine CutawayMachines & MechanismsMedium24 cmds