If I try to call getTankInfo() for any tank-like object (BC tanks, RailCraft Iron Tank, RailCraft Coke Oven, etc) I get a table what contains only one string, net.minecraftforge.fluids.FluidTankInfo@7daef4ea (the string after @ varies by query). It seems like return of a normal Java toString method, and really not a lua table, so I cannot call anything on it. It is a simple string object.
Exampel code:
tank = peripheral.wrap("back")
tinfo = tank.getTankInfo("unknown")[1]
The variable tinfo will contain string similar to my previous example.
If I try to call getTankInfo() for any tank-like object (BC tanks, RailCraft Iron Tank, RailCraft Coke Oven, etc) I get a table what contains only one string,
net.minecraftforge.fluids.FluidTankInfo@7daef4ea
(the string after @ varies by query). It seems like return of a normal Java toString method, and really not a lua table, so I cannot call anything on it. It is a simple string object.Exampel code:
The variable tinfo will contain string similar to my previous example.
I use: