Integrated Tunnels

Integrated Tunnels

79M Downloads

Fluid importers only pull one fluid from blocks with multiple tanks

lolipopopoop opened this issue ยท 2 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

When importing fluids to a network from a Functional Storage storage controller with multiple fluid drawers attached only the first drawer connected is able to be pulled from with importers.

Fluid exporters on tanks and interface on controller works fine.
Other pipe mods work like expected.

Steps to reproduce the problem:

  1. Link 2 fluid drawers to a storage controller.
  2. Fill the first connected drawer with water and the second connected with lava.
  3. Attach a fluid importer to the controller and a fluid interface to a tank on the same network.
  4. Add a fluid variable card programmed to lava into the Import fluids slot on the importer.

Expected behaviour:

The lava should flow from the controller into the tank like when using an interface on the controller and an exporter on the tank.


Versions:

  • This mod: 1.8.35
  • Minecraft: 1.19.2
  • Mod loader version: Forge 43.5.0
commented

Note to self: first try in ComCaps IngredientComponentStorageWrapperHandlerFluidStack#ComponentStorageWrapper#extract, get the tank contents (like a bit higher in the code), and drain with that specific fluid type and the given amount. (test in 1.21.1 first)
If that doesn't work well, consider not implementing IIngredientComponentStorageSlotted on IngredientComponentStorageWrapperHandlerFluidStack#ComponentStorageWrapper, because slotted insert/extract . (only implement IIngredientComponentStorage).

commented

Thanks for reporting!