Open Computers Fluid Meter Mod (1.21.1) – Track Prepaid Fluid Pipe Flow
Open Computers Fluid Meter Mod adds a two-block industrial metering machine and a matching wrench for managing fluid pipe lines. The block shows live output rate and total delivered volume on a front LCD screen, buffers up to 16,000 mB of a single fluid, and caps transfer under a default 8,000 mB/t server flow ceiling with independent inlet and outlet valves. Players can set flow caps or run exact prepaid deliveries for named customers that automatically close the outlet valve once the final millibucket passes through, while saving all readings with the world. This mod runs standalone without a computer, pairs optionally with OpenComputers: Rebooted for read-only Lua data access, and installs on both client and server in multiplayer worlds.
![]()
If you saw a clip of a two-block machine wired into fluid pipes with a live front LCD counting millibuckets and shutting off the valve the moment a prepaid customer order finishes, this is that mod. It is the one that lets you cap pipe flow, track delivered totals, and read every meter value through an adapter.
Features:
- Live Front LCD Metering: Displays the current output flow rate and total delivered fluid right on the front screen without needing a computer, counting only fluid that actually leaves the block.
- 16,000 mB Buffer and Dual Valves: Stores up to 16,000 mB of one fluid at a time, gives independent valves to the inlet and outlet, and enforces a default 8,000 mB/t server flow limit.
- Prepaid Customer Shutoff: Lets the block owner enter a customer name and prepaid volume in the GUI, records the starting reading, locks the current fluid while active, and closes the outlet automatically once the last prepaid millibucket is delivered.
- Persistent World Readings: Saves the internal buffer, total counter, valve states, and remaining prepaid credit with the world, keeping the total when the buffer empties and resetting it only after accepting a different fluid.
- Assigns ownership automatically to the player who places the two-block machine, keeping valve toggles, flow limits, and prepaid controls inside the owner GUI.
- Adds the Fluid Meter block and the Fluid Meter Wrench item, backed by 2 recipes, 1 loot table, 1 structure, and 3 custom textures across block and item folders.
- Works as a standalone pipe tool or connects optionally to OpenComputers: Rebooted when you place an Adapter beside the lower half for read-only Lua scripts.
OpenComputers Lua API:
Placing an OpenComputers Adapter next to the lower half exposes a read-only fluid_meter component (all setting changes still happen in the owner GUI). The methods getTotal(), getCustomerStart(), and getPrepaidRemaining() return exact decimal strings so large readings keep full precision:
getFluid(): Returns the fluid registry ID, or an empty string before the first fill.getRate(): Returns output in the previous tick, measured in mB/t.getTotal(): Returns total volume delivered for the current fluid, in mB.getBuffer(): Returns stored fluid volume and total capacity, in mB.getLimit(): Returns the active flow limit and server ceiling, in mB/t.getValves(): Returns whether the inlet and outlet valves are open, in that order.getOwner(): Returns the owner name.getCustomer(): Returns the current customer label.getCustomerStart(): Returns the meter reading at the start of the customer’s delivery, in mB.getPrepaidRemaining(): Returns the remaining prepaid volume, in mB.
local meter = require("component").fluid_meter
print("Fluid: " .. Meter.getFluid())
print("Output: " .. Meter.getRate() .. " mB/t")
print("Delivered: " .. Meter.getTotal() .. " mB")
print("Prepaid remaining: " .. Meter.getPrepaidRemaining() .. " mB")
How to Use:
- Place the Fluid Meter in a spot with two blocks of vertical clearance; whoever places it becomes the owner.
- Connect your incoming fluid line to the lower blue port on the rear, and connect your destination pipe or tank to the upper orange port.
- Press Right-click on either the top or bottom half to open the owner GUI, where you can switch the inlet and outlet valves or adjust the flow limit.
- To start a prepaid delivery, feed the target fluid into the meter first, type a customer name and volume in the GUI, and click Start prepaid so the outlet shuts off once that exact amount is delivered.
- For optional Lua monitoring with OpenComputers: Rebooted, set an OpenComputers Adapter directly next to the lower half and link it to your computer to query the read-only
fluid_metercomponent.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Open Computers Fluid Meter Mod Download Links
For Minecraft 1.21.1, 1.21
Have you ever used connector mods (like Sinytra Connector) to run Fabric mods on Forge/NeoForge?
44 responses · See the full results →
0




















This post has no comments yet. Be the first — your comment will appear here.