SquidDev-CC/plethora

Unable to move fluids out of a Tinker's Construct smeltery/tinker tank

Opened this issue · 1 comments

What I'm trying to do

I'm trying to move fluids between Tinker's Construct smelteries/tinker tanks and other various fluid inventories.

To clarify, when I'm trying to move fluids with a smeltery/tinker tank, I am connecting their drains to the network, not the controllers. Also, since I would imagine it's the same issue between the smeltery/tinker tank, I'm only going to be referring to the smeltery after this for easier reading.

I'm using OpenBlocks tanks as my control (which I'll just be referring to as tanks after this), but I have tried this with other fluid inventories such as Tinker's Construct casting tables or Ender Storage ender tanks and the issue is still present.

What's going on

Basically, the whole issue boils down to not being able to take fluids out of a smeltery, even though there are no issues with putting fluids into a smeltery.

Throughout all of my test, all tanks and smelteries have had at least 2 buckets of Molten Iron in them, and many more buckets of remaining capacity.

Code

local drain0Address = "minecraft:tconstruct_smeltery_drain_0"
local drain1Address = "minecraft:tconstruct_smeltery_drain_1"
local tank0Address = "openblocks:tank_0"
local tank1Address = "openblocks:tank_1"

local drain0 = peripheral.wrap(drain0Address)
local drain1 = peripheral.wrap(drain1Address)
local tank0 = peripheral.wrap(tank0Address)
local tank1 = peripheral.wrap(tank1Address)

--Moving from tank to tank. These work just fine.
tank0.pushFluid(tank1Address,1000,tank0.getTanks()[1].name)
tank0.pullFluid(tank1Address,1000,tank1.getTanks()[1].name)

--Moving from tank to smeltery. These work just fine.
tank0.pushFluid(smeltery0Address,1000,tank0.getTanks()[1].name)
smeltery0.pullFluid(tank0Address,1000,tank0.getTanks()[1].name)

--Moving from smeltery to tank. These do NOT work.
tank0.pullFluid(smeltery0Address,1000,smeltery0.getTanks()[1].name)
smeltery0.pushFluid(tank0Address,1000,smeltery0.getTanks()[1].name)

--Moving from smeltery to smeltery. These do NOT work.
smeltery0.pushFluid(smeltery1Address,1000,smeltery0.getTanks()[1].name)
smeltery0.pullFluid(smeltery1Address,1000,smeltery1.getTanks()[1].name)

Versions

Component Version
Minecraft 1.12.2
CC: Tweaked 1.85.2
Plethora 1.2.2
Tinker's Construct 2.13.0.171

I don't know if any of these could have any role in this, but the pack that I'm playing with also has these Tinker's Construct addons:

Component Version
Tinkers Extras 1.0.9
Tinker's Complement 0.4.2
Tinker's Tool Leveling 1.1.0

I would like to just mention that normal piping methods (Thermal, XU2, Etc) work to extract fluids from a TiCon smeltry via a drain just like OP is trying to do.
But it would be absolutely amazing if we could finally get a computer-controlled TiCon smeltry. It seems so tantalizingly close!