Home›Java›Mods›Mechanical Pump
Mechanical Pump
ModsJava

Mechanical Pump

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Marvin_Eckhardt · on CurseForge

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for NeoForge only.

⬇ Download for 1.21.1⬇ Download for 1.21
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

This mod adds a mechanical pump. The pump does consume fluids, but you need a finite water mod to empty a water area.

The pump always prioritizes source blocks at the highest connected y level that are the most far away from the pump to be pumped first.

 

You can change some properties in config. By default, the pump works in a radius of 96 blocks (6chunks) (~30k blocks) around the pump, scanning 1000 blocks per tick. So its highest speed on large oceans is 1 block / 1.5 seconds, no matter how much energy you put in.

A scanning speed of 1000/tick should not have any performance impacts. The code uses a TreeSet to sort the blocks by distance . Maybe I will optimize this in the future...

The pump processes 1 block every rotation.

 

Recommendations for use:

I strongly recommend you install my finite water mod for improved performance when pumping water from large areas of water. Even if you want infinite water everywhere you can just set the blacklist empty. 

lets look at the following example:Mechanical Pump — Minecraft Java mod, screenshot 1

By default, the pump will try to pump the highest water source it can find. This would remove the water channel and break the build. With my finite water mod, the pump will notice it sits in a river biome where water is infinite. So it will try to pump the first water source it can find and leave the water channel.

Note that the pump will always prioritize water above, so in the example shown you would need to have a water source directly below the pump or it would scan the channel up. Once the pump detects any water block at a higher y level from where it currently scans, it will completly disregard the current scan and only scan the higher y level for water sources. 

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more