Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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.
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:
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.