Build an animated glass-walled hydro-filtration rig in Java Edition that pumps murky water through shifting filter layers into a glowing clean tank.
Spawners & GeneratorsWaterIndustrialTechnologyCyanGreenBlueDecorationMap MakingBlock displaysSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)21+ commands
This glass-walled hydro-filtration rig turns raw command blocks into an animated water treatment plant. Murky water churns inside a tall intake tank on the left, pulses through an overhead pipe into a central filtration tower with a shifting bio-moss layer, and exits into a glowing cyan reservoir on the right.
By combining block_display entities, teleport_duration interpolation, and coloured dust particles, the rig runs continuously on a 2-second pump cycle without redstone wiring or lag.
/scoreboard objectives add c9_t dummy/fill ~-7 ~0 ~-2 ~7 ~0 ~2 polished_deepslate/fill ~-7 ~1 ~-2 ~-4 ~6 ~2 glass hollow/fill ~-1 ~1 ~-1 ~1 ~7 ~1 glass hollow/fill ~4 ~1 ~-2 ~7 ~4 ~2 light_blue_stained_glass hollow/fill ~-6 ~2 ~-1 ~-5 ~5 ~1 water/fill ~5 ~2 ~-1 ~6 ~3 ~1 water/execute align xyz run summon block_display ~-5.5 ~7.0 ~0.0 {Tags:["c9_rig","c9_up"],block_state:{Name:"minecraft:copper_block"},teleport_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1f,0.7f,1f]}}/execute align xyz run summon block_display ~0.05 ~3.2 ~0.05 {Tags:["c9_rig","c9_up"],block_state:{Name:"minecraft:moss_block"},teleport_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.9f,0.45f,0.9f]}}/execute align xyz run summon block_display ~-3.5 ~5.3 ~0.25 {Tags:["c9_rig"],block_state:{Name:"minecraft:brown_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,0.5f,0.5f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_rig"],block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[5f,-3f,0f],scale:[3f,0.5f,0.5f]}},{id:"minecraft:block_display",Tags:["c9_rig"],block_state:{Name:"minecraft:sand"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[3.55f,-0.7f,-0.2f],scale:[0.9f,0.45f,0.9f]}},{id:"minecraft:block_display",Tags:["c9_rig"],block_state:{Name:"minecraft:sea_lantern"},brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[3.55f,-3f,-0.2f],scale:[0.9f,0.45f,0.9f]}}]}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 40.. run scoreboard players set #tick c9_t 0/execute if score #tick c9_t matches 0 as @e[tag=c9_up] at @s run tp @s ~ ~0.5 ~/execute if score #tick c9_t matches 20 as @e[tag=c9_up] at @s run tp @s ~ ~-0.5 ~/scoreboard players add #dt c9_t 1/execute if score #dt c9_t matches 10.. run scoreboard players set #dt c9_t 0/execute if score #dt c9_t matches 0 align xyz run summon block_display ~-3.8 ~5.4 ~0.35 {Tags:["c9_rig","c9_drop"],block_state:{Name:"minecraft:mud"},teleport_duration:2,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.3f,0.3f,0.3f]}}/execute if score #dt c9_t matches 5 align xyz run summon block_display ~1.0 ~2.4 ~0.35 {Tags:["c9_rig","c9_drop"],block_state:{Name:"minecraft:cyan_stained_glass"},brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.3f,0.3f,0.3f]}}/scoreboard players add @e[tag=c9_drop] c9_t 1/execute as @e[tag=c9_drop] at @s run tp @s ~0.18 ~ ~/kill @e[tag=c9_drop,scores={c9_t=25..}]/execute align xyz run particle minecraft:dust{color:[0.45,0.3,0.14],scale:1.5} ~-5.0 ~3.8 ~0.5 0.6 0.9 0.6 0.02 6/execute align xyz run particle minecraft:happy_villager ~0.5 ~3.7 ~0.5 0.35 0.4 0.35 0 3/execute align xyz run particle minecraft:dust{color:[0.1,0.88,1.0],scale:1.3} ~6.0 ~3.8 ~0.5 0.6 0.6 0.6 0.02 5setup #3 The <code>/fill ... hollow</code> commands build the left intake tank, tall central filtration shaft, and right reservoir out of glass, leaving hollow interiors for water and filter layers.setup #8 Summons the copper pump piston on top of the intake tank with <code>teleport_duration:18</code> and the <code>c9_up</code> tag so it glides smoothly up and down.setup #10 Creates both glass connecting pipes, the sand filter layer, and the glowing sea lantern purifier layer as passengers on a single aligned <code>block_display</code> entity.loop #3 Every 40 ticks (2 seconds), <code>#tick</code> triggers both <code>c9_up</code> entities (the copper pump and central moss layer) to shift up at tick 0 and back down at tick 20.loop #7 Using the 10-tick <code>#dt</code> timer, murky mud droplets enter the top pipe at tick 0 and glowing cyan droplets enter the bottom pipe at tick 5.loop #10 Moves every <code>c9_drop</code> packet smoothly across the pipes by <code>0.18</code> blocks per tick and removes it after 25 ticks so entity counts stay around 13.loop #12 Spawns brown <code>dust</code> particles in the murky tank, green <code>happy_villager</code> sparkles in the central bio-filter, and cyan <code>dust</code> in the clean reservoir.


Recorded on our own test server: 50 frames at about 9.8 fps. Our image check saw: Three glass chambers sit on a deepslate platform: a left water tank with murky particles, a central tower with shifting green moss particles, and a right light-blue glass reservoir emitting cyan particles, though an overhead pipe between the first two tanks is missing.
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_rig]/scoreboard objectives remove c9_t/fill ~-7 ~0 ~-2 ~7 ~7 ~2 airEach droplet is a <code>block_display</code> with <code>teleport_duration:2</code>, which lets the client interpolate movement between ticks, and every packet is deleted after 25 ticks so only about 13 entities exist at once.
Yes. Disable the repeating command blocks, run the three commands in the <code>remove</code> list at the old center to clear the structure and entities, then run the setup commands at your new location.
▶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