Fluid Basin & Lava Pump
Automatically collect fluid source blocks (such as lava or water) from a 3×3×3 pool into a tank, pause automatically when the tank is almost full, and stop immediately whenever a manual shutoff lever is flipped.

World setup
Section titled “World setup”- Mount a Tier 1 Interface facing down over your lava/fluid pool (even facing air) and install a World Fluid Card (no Place ability needed for pumping).
- Name it
pool. - On the World Fluid Card tab, set the box to 3 × 3 × 3 and click Show area to confirm the pool sits inside the outline.
- Name it
- Mount a Tier 1 Interface with a Fluid Expansion against your storage tank and name it
tank. - Mount a Tier 1 Interface with a Redstone Expansion next to a lever, set its Direction to Input, and name it
pause_lever.
Script
Section titled “Script”POOL = point("pool/fluid")TANK = point("tank/fluid")PAUSE = point("pause_lever/redstone")
FLUID = "minecraft:lava"
def scan(): # Manual emergency stop if PAUSE.get() > 0: return
# World Fluid Cards pick up whole 1,000 mB source blocks at a time if TANK.space(FLUID) >= 1000: move(POOL, TANK, 1000, key=FLUID)Why this works
Section titled “Why this works”- A World Fluid Card scans its configured box in box order (
x, theny, thenz) and picks up the first matching source block as 1,000 mB. - Checking
TANK.space(FLUID) >= 1000avoids partial-bucket attempts when the tank is nearly full (andspace()always takes a concrete fluid ID like"minecraft:lava", not a#tag). returnexits the scan cleanly when the pause lever is on—never usefail()for a normal stop condition.
Ways to tweak it
Section titled “Ways to tweak it”Reverse: Keep a single-block basin filled (e.g., obsidian / in-world fluid crafting)
Section titled “Reverse: Keep a single-block basin filled (e.g., obsidian / in-world fluid crafting)”Craft the Place ability onto your World Fluid Card (card + Dispenser) and mount basin facing the empty basin block with a 1 × 1 × 1 box:
TANK = point("tank/fluid")BASIN = point("basin/fluid")
def scan(): # Places a 1,000 mB source into air or flowing fluid at (0, 0, 0); ignores existing sources if TANK.count("minecraft:water") >= 1000: move(TANK, BASIN, 1000, key="minecraft:water", at=(0, 0, 0))- Pump a huge Nether lava lake: Upgrade the PLC and
poolInterface to Tier 2 (up to 9×9×9 box, 2,000 mB/scan) or Tier 3 (up to 27×27×27 box, 4,000 mB/scan).
Not an official Minecraft website. Not approved by or associated with Mojang or Microsoft.