What are you searching for?

Mechanical Pump

Mechanical Pump

A Mechanical Fluid Pump Mod

download 234.4K Downloads · favorite 6 Followers · Updated 10 months ago
Neoforge Technology 1.21 1.21.1

Versions

inventory_2
Mechanical Pump 1.0.2

1.0.2 · 10 months ago · 309.47 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Mechanical Pump 1.0.1

1.0.1 · 11 months ago · 308.87 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Mechanical Pump 1.0.0

1.0.0 · 11 months ago · 305.56 KB

Release download
Neoforge 1.21 1.21.1

About

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/ywNE15BVl_4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

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: mechanical pump build

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. 

open_in_new View on Modrinth
Categories
Compatibility
Client: Required Server: Required
gavel LicenseRef-All-Rights-Reserved

Conversation

What are your thoughts?

Related projects

Adventure Equipment Game mechanics
Nature's Compass
Nature's Compass

by Chaosyr

Allows you to locate biomes anywhere in the world.

download 16.7M
favorite 2,133
Technology Utility
Euphoria Patches
Euphoria Patches

by SpacEagle17

Euphoria Patches is an add-on for Complementary Shaders, extending it with more optional features and settings.

download 13.2M
favorite 2,059
Game mechanics Technology Utility
Quark
Quark

by Vazkii

A Quark is a very small thing. This mod is a collection of small things...

download 12.6M
favorite 1,418
Decoration Technology Utility
Create
Create

by simibubi

Aesthetic Technology that empowers the Player

download 11.9M
favorite 4,940
lock Cookie consent

SkinMC uses cookies to provide functionality and features.