Build an automated industrial assembly line that dispenses raw gold crates, moves them along a dark conveyor belt, and upgrades them into glowing diamonds.
Spawners & GeneratorsIndustrialTechnologyGoldCyanBlackDecorationMap MakingAdventure MapBlock displaysBlock building (fill/setblock/clone)Sounds21+ commands
This command creation builds a working industrial assembly line right in the middle of your world. Raw gold blocks spawn from an iron dispenser chute, glide smoothly along a dark conveyor belt with moving metal treads, pass beneath an energized copper scanner that upgrades them into glowing diamond blocks, and finally drop into a collection furnace.
Using block display entities and precise positional checks, the machine runs automatically with flashing laser particles, sound effects, and colored glowing outlines that stand out sharply at night.
/scoreboard objectives add c9_tick dummy/fill ~-9 ~ ~-3 ~9 ~ ~3 polished_andesite/fill ~-8 ~ ~-2 ~8 ~ ~2 smooth_stone_slab[type=bottom]/fill ~-7 ~1 ~-1 ~7 ~1 ~1 cyan_terracotta/fill ~-7 ~1 ~ ~7 ~1 ~ black_concrete/fill ~-8 ~1 ~-1 ~-7 ~4 ~1 iron_block/setblock ~-7 ~2 ~ black_concrete/fill ~-1 ~1 ~-2 ~1 ~4 ~2 copper_block/fill ~-1 ~2 ~-1 ~1 ~3 ~1 air/fill ~6 ~1 ~-1 ~8 ~2 ~1 polished_blackstone_bricks/setblock ~7 ~1 ~ lava/setblock ~ ~4 ~ sea_lantern/scoreboard players add #clock c9_tick 1/execute if score #clock c9_tick matches 35.. run scoreboard players set #clock c9_tick 0/execute if score #clock c9_tick matches 1 run summon block_display ~-6.5 ~2.05 ~ {Tags:["c9_sim","c9_crate"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:raw_gold_block"},transformation:{translation:[-0.35f,0.0f,-0.35f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 1 run summon block_display ~-6.5 ~1.02 ~ {Tags:["c9_sim","c9_roller"],block_state:{Name:"minecraft:iron_trapdoor"},transformation:{translation:[-0.4f,0.0f,-0.4f],scale:[0.8f,0.5f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 18 run summon block_display ~-6.5 ~1.02 ~ {Tags:["c9_sim","c9_roller"],block_state:{Name:"minecraft:iron_trapdoor"},transformation:{translation:[-0.4f,0.0f,-0.4f],scale:[0.8f,0.5f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 1 run playsound block.piston.extend block @a ~-6.5 ~2 ~ 0.5 1.2/execute as @e[tag=c9_sim] at @s run tp @s ~0.1 ~ ~/execute positioned ~ ~2 ~ as @e[tag=c9_crate,tag=!c9_done,distance=..0.6] at @s run data merge entity @s {Tags:["c9_sim","c9_crate","c9_done"],block_state:{Name:"minecraft:diamond_block"},glow_color_override:5636095}/execute positioned ~ ~2 ~ at @e[tag=c9_crate,distance=..0.7] run particle electric_spark ~ ~0.4 ~ 0.3 0.4 0.3 0.1 15 force/particle dust{color:[0.2,1.0,1.0],scale:1.2} ~ ~2.8 ~ 0.1 0.5 0.6 0 4 force/execute as @e[tag=c9_crate] at @s if block ~ ~-1 ~ lava run particle lava ~ ~ ~ 0.2 0.2 0.2 0.1 12 force/execute as @e[tag=c9_sim] at @s if block ~ ~-1 ~ lava run kill @sloop #5 Every 35 ticks, a new scaled-down <code>block_display</code> showing a raw gold block is summoned at the chute exit with a bright gold glow outline.loop #9 All conveyor rollers and ore crates tagged with <code>c9_sim</code> are teleported 0.1 blocks east every tick to create smooth continuous belt motion.loop #10 When a raw gold crate reaches the center scanner tunnel, <code>data merge</code> transforms its block state into a diamond block and switches its glow color to cyan.loop #14 Once crates and belt treads slide over the lava basin at the end of the line, they are automatically removed so entity counts stay low.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A conveyor belt assembly line moves glowing raw gold blocks from an iron structure through a central copper unit that converts them into glowing diamond blocks before they enter a blackstone furnace.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let real players ride or transport dropped items along the belt, add a repeating command that moves players and items standing on the black concrete track: /execute as @a at @s if block ~ ~-1 ~ black_concrete run tp @s ~0.1 ~ ~.
/kill @e[tag=c9_sim]/scoreboard objectives remove c9_tick/fill ~-9 ~ ~-3 ~9 ~5 ~3 airYes! Edit the block_state Name in loop command 5 (the starting raw block) and loop command 10 (the upgraded block after passing the scanner).
No, every crate and belt roller is destroyed as soon as it reaches the lava pit at the end of the belt, keeping active entities under 15 at all times.
/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Tesla Coil Lightning Arc SpawnerSpawners & GeneratorsMedium24 cmds
▶3D Conveyor Belt LoopSpawners & GeneratorsMedium26 cmds
▶Automated Conveyor AssemblySpawners & GeneratorsEasy24 cmds
▶Automated Conveyor FactorySpawners & GeneratorsEasy24 cmds
▶Automated Crop HarvesterSpawners & GeneratorsMedium24 cmds
▶Automated Factory Assembly LineSpawners & GeneratorsMedium24 cmds