Volumetric Flask MOD

Volumetric Flask is an Applied Energistics 2 addon mainly focusing on fluid related auto crafting.

This mod add various volumetric flasks with different sizes and some helper blocks.

New Item: Volumetric Flask

16 different sizes: 16, 32, 18, 36, 72, 144, 50, 100, 250, 1000, 2000, 4000, 8000, 16000, 32000, 64000 mB

An empty Volumetric Flask, Filled with Lava, Filled with water.

A volumetric flask is a fluid container just like a vanilla bucket, but can stack up to 64. You may hold a volumetric flask and right click on a tank to fill/empty it. Like a vanilla bucket, a volumetric flask is only allowed to be fully filled or empty.

Fill Volumetric Flask using Fluid Tank from Ender IO

New Block: Volumetric Interface

A ME Interface with special support for volumetric flask. It has all the functions a ME Interface has, like accepting items and importing them into ME network, or export items accroding to Encoded Patterns. Alternative panel version is also available to share one block with ME Cable.
However, if a Encoded Pattern that has filled Volumetric Flask is provided, when requesting that pattern, the Volumetric Interface won’t push the volumetric flask to target machine. Instead, it will push the fluid inside the volumetric flask to target machine, and put the emptied volumetric flask in the internal inventory of the interface. (And of course, the emptied volumetric flask will be transfered back into the ME network)

Like the ME Interface, Volumetric Interface will push to target machine ONLY if ALL ingredients can be inserted. If Encoded Pattern has filled volumetric flask as ingredient, fluid inside the volumetric flask will also be considered.
Blocking mode can be configured, and yes, it can be blocked by fluid in target machine.
Volumetric Interface has a internal tank of 64000mB, and will transfer fluid inside into the ME network.

Typical Usage: Volumetric Interface

Automate TNT in GregTech Community Edition

Solution

First, compose an Encoded Pattern to use 4 * Gelled Toluene and 1 * 250mB Volumetric Flask (Sulfuric Acid) as input materials, and 1* TNT as output. Store some of them in ME network.
Second, put the Encoded Pattern in the Volumetric Interface.
Third, place needed machine (Basic Chemical Reactor) next to the Volumetric Interface, and set it automaticlly outputting to the interface.
Finally, request crafting some TNT and profit!

New Block: Filler

A Filler is a volumetric flask specified ME Fluid Auto Filler(from Extra cells2). Whenever a filled volumetric flask of certain fluid is requested, it automatically fills a volumetric flask from ME network with the liquid from ME network. A Filler needs energy and ME channel to operate.

Typical Usage: Filler

First, store some fluid (Sulfuric Acid) in ME network.
Second, store some empty Volumetric Flask in Me network.
Third, request some filled Volumetric Flask and Filler will fill them in place.

New Block: Buffer

A Buffer has a inventory of 9 stack, and 9 tank of 64000mB fluid. You may use any pipe/export bus/interface to insert items and fluid into it, and use any pipe to extract. A Buffer will always try to push out items and fluid from its inventory and tank to nearby blocks.
A buffer will NOT push items and fluid to following blocks: ME Interface, ME Fluid Interface, Volumetric Interface, panel version of above.
A buffer do not have any GUI to interact with, and can not be dismantled by wrench. A buffer will lost all items and fluid inside when broken.

To view what stored in a Buffer, you may need The One Probe or similar mods.

Typical Usage: Buffer

Automate Red Alloy Ingot (GregTech) in Blast Furnace (GregTech).
Inputs: Copper Ingot * 1, Destablilized Restone * 288mB
Output: Red Alloy Ingot * 1

First, store some Copper Ingots and 144 Volumetic Flasks (Destablized Redstone) in ME network. Of course you may store Destablized Resdtone fluid and empy Volumetric Flasks in ME network and use a Filler.
Second, compose an Encoded Pattern, and put it in the Volumetric Interface. Note that we need two 144 Volumetric Flask to meet demand.
Third, place a Buffer next to the Volumetric Interface, and neccessary conduits (Ender IO) to transfer item/fluid from Buffer to Input Bus/Hatch (upper two blocks), and transfer item/fluid from Output Bus/Hatch (lower two blocks) to Volumetric Interface.
After requesting Red Alloy Ingot, the Volumetric Interface will push Copper Ingot and Destablized Redstone to the Buffer. Then conduits will extract them into corresponding Input Bus/Hatch. After job is done by Blast Furnace, conduits will extract Red Alloy Ingot to Volumetric Interface. Hense there will be two empty Volumetric Flasks and one Red Alloy Ingot in ME network. Automation done!

Limitations

Using this mod can NOT achieve PERFECT fluid automation. It can only help you deal with recipes with fluid INPUT. If you want to automate recipes with fluid OUTPUT, you may need some fake crafting tricks.

Recipes

This mod only provide minium recipes for new items and blocks. Modpack makers, feel free to change recipes.

Known Issues

Volumetric Interface texture can not follow orientation of the interface, though it works as expected.
Volumetric Interface will not show in ME Interface Terminal.

Source Code

https://github.com/exzhawk/VolumetricFlask

License and Permission

Source Code: LGPL
Assets: CC BY-NC-SA

For binary JAR file,
You can:
Use this mod in your modpack.
Post screenshot or videos of this mod.
Do whatever you want as long as you do not break rules below.

You must:
Follow LGPL and CC BY-NC-SA license.
Keep author info and a link to this page for redistributing this mod in any form (modpacks, repost in another website, etc.)

You cannot:
Publicly distribute modified version of this mod.

Credits

Some code and assets are derived from Applied Energistics 2 and Extra Cells2.
Thanks to AlgorithmX2 and Team Applied Energistics for Applied Energistics 2, Team Extra Cells for Exra Cells2.
Thanks to miguo (龙飞虎) for texture inspiration, ustc-zzzz (Yanbing Zhao) for modding tutorials and 3TUSK (Urey. Xue) for modding tutorials.
Thanks to Damien-Reave for making Omnifactory, which motivate me to make this mod. Thanks to members of SDYG Group for encouraging me to release this mod. All screenshots are captured from modified version of Omnifactory on SDYG Group Private Server.

Download

JAR files can be found on Curseforge page.