Build an automated potion bottling conveyor in Minecraft Java with brass nozzles, colorful liquid streams, a piston cork stamper, and a barrel chute.
Watch empty glass vials glide smoothly down a blackstone and copper conveyor belt under two brass overhead nozzles. As each bottle passes its station, a stream of bright ruby or cyan liquid pours from the hopper nozzle and fills the glass.
Once filled, the vials continue to a mechanical downward-facing piston that stamps them closed before they drop through a metal chute into a wooden barrel crate.
/scoreboard objectives add c9 dummy/fill ~-7 ~0 ~0 ~5 ~0 ~0 waxed_copper_grate/fill ~-7 ~1 ~0 ~5 ~1 ~0 polished_blackstone/fill ~-4 ~0 ~-1 ~4 ~5 ~-1 waxed_copper_grate/fill ~-3 ~4 ~0 ~4 ~5 ~0 waxed_copper_block/setblock ~-3 ~3 ~0 hopper[facing=down]/setblock ~0 ~3 ~0 hopper[facing=down]/setblock ~4 ~4 ~0 piston[facing=down]/setblock ~6 ~1 ~0 hopper[facing=down]/setblock ~6 ~0 ~0 barrel[facing=up]/scoreboard players add #tick c9 1/execute if score #tick c9 matches 1 run summon item_display ~-7 ~2.42 ~0 {Tags:["c9_bottle","c9_r"],item:{id:"minecraft:glass_bottle",count:1},billboard:"vertical",teleport_duration:2,interpolation_duration:2,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f]}}/execute if score #tick c9 matches 37 run summon item_display ~-7 ~2.42 ~0 {Tags:["c9_bottle","c9_b"],item:{id:"minecraft:glass_bottle",count:1},billboard:"vertical",teleport_duration:2,interpolation_duration:2,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f]}}/execute if score #tick c9 matches 72.. run scoreboard players set #tick c9 0/scoreboard players add @e[tag=c9_bottle] c9 1/execute as @e[tag=c9_bottle,scores={c9=1..162}] at @s run tp @s ~0.08 ~ ~/execute as @e[tag=c9_bottle,scores={c9=163..175}] at @s run tp @s ~ ~-0.12 ~/kill @e[tag=c9_bottle,scores={c9=176..}]/execute if entity @e[tag=c9_r,scores={c9=46..54}] run particle dust{color:[1.0,0.15,0.35],scale:1.2} ~-3 ~2.85 ~0 0.03 0.25 0.03 0 6/execute as @e[tag=c9_r,scores={c9=50}] run data merge entity @s {item:{id:"minecraft:potion",count:1,components:{"minecraft:potion_contents":{custom_color:16721497}}}}/execute if entity @e[tag=c9_b,scores={c9=84..92}] run particle dust{color:[0.1,0.9,1.0],scale:1.2} ~0 ~2.85 ~0 0.03 0.25 0.03 0 6/execute as @e[tag=c9_b,scores={c9=88}] run data merge entity @s {item:{id:"minecraft:potion",count:1,components:{"minecraft:potion_contents":{custom_color:1762815}}}}/execute if entity @e[tag=c9_bottle,scores={c9=136..140}] run setblock ~4 ~5 ~0 redstone_block/execute unless entity @e[tag=c9_bottle,scores={c9=136..140}] run setblock ~4 ~5 ~0 waxed_copper_blocksetup #1 Creates the <code>c9</code> scoreboard objective used both as the global factory clock and to track each vial's age along the belt.setup #8 Places the downward-facing mechanical piston above the fourth block east of center so its head stamps cleanly above passing bottles.loop #2 Spawns an empty glass bottle <code>item_display</code> tagged <code>c9_r</code> with <code>teleport_duration:2</code> for smooth gliding along the belt.loop #6 Moves every bottle forward by <code>0.08</code> blocks per tick until tick 162, when it reaches the packing chute.loop #10 Swaps the empty bottle item into a vibrant ruby-colored potion using the <code>minecraft:potion_contents</code> component right as it passes the first nozzle.loop #13 Briefly replaces the copper block above the piston with a <code>redstone_block</code> when a bottle reaches tick 136–140, extending the piston to stamp it.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Glass bottles move along a blackstone and copper belt under dripping hoppers, turning into red and cyan potions before passing under an extending piston toward a hopper and barrel.
/kill @e[tag=c9_bottle]/scoreboard objectives remove c9/fill ~-7 ~0 ~-1 ~6 ~5 ~0 airEach bottle is an item_display entity with teleport_duration:2, which tells the game client to interpolate position changes smoothly between ticks.
Yes. Update the color array in the dust particle commands and change the integer custom_color value inside the data merge commands to any RGB decimal color.
/data/execute/fill/kill/particle/scoreboard/setblock/summon/tp