Build an automated industrial conveyor belt with a hydraulic crusher that flattens raw copper into glowing copper plates using block displays.
Machines & MechanismsIndustrialTechnologyOrangeBlackDecorationMap MakingLearningParticlesBlock displaysSmooth animation (interpolation)Scoreboard timersExecute chainsBlock building (fill/setblock/clone)SoundsGlowing outlines21+ commands
This command creation builds a working industrial assembly line using block_display entities and smooth matrix transformations. Raw copper blocks spawn from a dispenser housing, glide down an elevated conveyor belt, and pause directly beneath a central hydraulic crusher.
When an item arrives, the heavy anvil press slams down with sparks and lava particles, flattening the raw ore into a polished copper plate before sending it into the collection hopper.
/scoreboard objectives add c9_tick dummy/scoreboard players set #factory c9_tick 0/fill ~-6 ~ ~-1 ~6 ~ ~1 polished_andesite/fill ~-6 ~1 ~ ~5 ~1 ~ black_concrete/fill ~-1 ~1 ~-1 ~1 ~4 ~-1 iron_block/fill ~-1 ~4 ~-1 ~1 ~4 ~1 smooth_stone_slab[type=double]/setblock ~-6 ~2 ~ dispenser[facing=east]/setblock ~6 ~1 ~ hopper[facing=down]/summon block_display ~ ~3.2 ~ {Tags:["c9_Fac","c9_Press"],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:[1.3f,1.6f,1.3f],translation:[-0.65f,0f,-0.65f]},teleport_duration:2}/summon block_display ~ ~3.8 ~ {Tags:["c9_Fac","c9_Piston"],block_state:{Name:"minecraft:iron_bars"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,1.5f,0.5f],translation:[-0.25f,0f,-0.25f]},teleport_duration:2}/scoreboard players add #factory c9_tick 1/execute if score #factory c9_tick matches 55.. run scoreboard players set #factory c9_tick 0/execute if score #factory c9_tick matches 1 run summon block_display ~-5.2 ~2.0 ~ {Tags:["c9_Fac","c9_Item"],Glowing:1b,glow_color_override:14188339,block_state:{Name:"minecraft:raw_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,0f,-0.35f]},teleport_duration:1,interpolation_duration:3}/execute if score #factory c9_tick matches 1 run playsound minecraft:block.dispenser.dispense block @a ~-6 ~2 ~ 0.8 1.2/execute as @e[type=block_display,tag=c9_Item] run scoreboard players add @s c9_tick 1/execute as @e[type=block_display,tag=c9_Item,scores={c9_tick=1..26}] at @s run tp @s ~0.2 ~ ~/execute as @e[type=block_display,tag=c9_Item,scores={c9_tick=37..65}] at @s run tp @s ~0.2 ~ ~/execute if entity @e[type=block_display,tag=c9_Item,scores={c9_tick=28}] run tp @e[type=block_display,tag=c9_Press] ~ ~1.9 ~/execute if entity @e[type=block_display,tag=c9_Item,scores={c9_tick=35}] run tp @e[type=block_display,tag=c9_Press] ~ ~3.2 ~/execute as @e[type=block_display,tag=c9_Item,scores={c9_tick=30}] at @s run data merge entity @s {glow_color_override:16755200,block_state:{Name:"minecraft:copper_block"},start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.85f,0.25f,0.85f],translation:[-0.425f,0f,-0.425f]}}/execute at @e[type=block_display,tag=c9_Item,scores={c9_tick=30}] run particle minecraft:lava ~ ~0.2 ~ 0.25 0.1 0.25 0.1 18/execute at @e[type=block_display,tag=c9_Item,scores={c9_tick=30}] run playsound minecraft:block.anvil.place block @a ~ ~ ~ 0.7 1.3/execute at @e[type=block_display,tag=c9_Item] run particle minecraft:crit ~ ~0.1 ~ 0.15 0.05 0.15 0.02 2/execute as @e[type=block_display,tag=c9_Item,scores={c9_tick=65..}] at @s run particle minecraft:composter ~ ~0.3 ~ 0.2 0.2 0.2 0.1 12/kill @e[type=block_display,tag=c9_Item,scores={c9_tick=66..}]setup #9 Summons the oversized anvil block display with a <code>teleport_duration</code> of 2 ticks so its vertical pressing motion is smoothly interpolated by the client.loop #3 Spawns a raw copper block display every 55 ticks at the dispenser output with glowing enabled and centered scale transformations.loop #6 Slides the item along the conveyor belt for its first 26 ticks of life until it reaches the exact center beneath the hydraulic press.loop #10 At tick 30 of the item's life, merges new transformation data to flatten the block along the Y-axis while switching its state to a polished copper block.loop #14 Plays green collection particles when the finished copper plate reaches the hopper at tick 65 before the final command removes it.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A dispenser sends glowing raw copper blocks along a black conveyor belt where an anvil press crushes them with sparks into flat polished copper blocks before entering a hopper.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_Fac]/fill ~-6 ~ ~-1 ~6 ~4 ~1 air/scoreboard objectives remove c9_tickRelative volume selectors like x=~-0.2 inside an 'at @s' context always match the entity itself. Using an individual scoreboard age timer on each item guarantees smooth movement and exact pause timing.
Yes! Edit the block_state Name in the third loop command from raw_copper_block to any block you like, and change copper_block in the tenth loop command to your desired output block.
/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds