Animated Hydro-Filtration Rig

Build an animated glass-walled hydro-filtration rig in Java Edition that pumps murky water through shifting filter layers into a glowing clean tank.

Java EditionMini-games & UtilitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A three-stage glass water filtration rig with particle effects stands on a dark stone platform in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-7 ~0 ~-2 ~7 ~0 ~2 polished_deepslate
  3. /fill ~-7 ~1 ~-2 ~-4 ~6 ~2 glass hollow
  4. /fill ~-1 ~1 ~-1 ~1 ~7 ~1 glass hollow
  5. /fill ~4 ~1 ~-2 ~7 ~4 ~2 light_blue_stained_glass hollow
  6. /fill ~-6 ~2 ~-1 ~-5 ~5 ~1 water
  7. /fill ~5 ~2 ~-1 ~6 ~3 ~1 water
  8. /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]}}
  9. /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]}}
  10. /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]}}]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 40.. run scoreboard players set #tick c9_t 0
  3. /execute if score #tick c9_t matches 0 as @e[tag=c9_up] at @s run tp @s ~ ~0.5 ~
  4. /execute if score #tick c9_t matches 20 as @e[tag=c9_up] at @s run tp @s ~ ~-0.5 ~
  5. /scoreboard players add #dt c9_t 1
  6. /execute if score #dt c9_t matches 10.. run scoreboard players set #dt c9_t 0
  7. /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]}}
  8. /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]}}
  9. /scoreboard players add @e[tag=c9_drop] c9_t 1
  10. /execute as @e[tag=c9_drop] at @s run tp @s ~0.18 ~ ~
  11. /kill @e[tag=c9_drop,scores={c9_t=25..}]
  12. /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
  13. /execute align xyz run particle minecraft:happy_villager ~0.5 ~3.7 ~0.5 0.35 0.4 0.35 0 3
  14. /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 5

How it works

Frames from the test run

Animated Hydro-Filtration Rig - frame 1Animated Hydro-Filtration Rig - frame 2Animated Hydro-Filtration Rig - frame 3

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.

Build it in your world

  1. Clear a flat 15x5 area with at least 9 blocks of open sky above it and stand at the center block.
  2. Run each of the 10 setup commands in order from chat (or a chain of impulse command blocks) while positioned at the center.
  3. Place 14 repeating command blocks set to Always Active (or 1 repeating block followed by 13 chain blocks) positioned at that same center coordinate.
  4. Paste each of the 14 loop commands into the repeating/chain command blocks.
  5. Watch the copper pump and moss filter oscillate as murky packets flow in from the left and exit as glowing cyan water on the right.

Remove it again 3 commands

  1. /kill @e[tag=c9_rig]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-7 ~0 ~-2 ~7 ~7 ~2 air

FAQ

Why do the droplets move smoothly without lagging my world?

Each 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.

Can I move the rig to a different spot after building it?

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.

Commands used

/execute/fill/kill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides