[Question/Possible Bug]
Hail4Gaming opened this issue · 7 comments
I have a lever on my Controller for Refined Storage in the Direwolf20 1.12 pack so that I may turn it off to conserve power (early game setup)--I just built a 3CPU/3Storage Reborn Storage Autocrafter Multiblock, however when I turn off the Controller, it still draws 60fe/t power, though it should be disabled. Is there a reason it still draws power when the controller is turned off?
Reborn Storage Version: 3.2.2.65
Refined Storage Version: 1.6.4
I’m not sure, as far as I know we use the api to refined storage correctaly for power usage
That is strange. I shall be on again later and I plan to try using a lever on the multiblock itself, though I doubt itll work. I was trying to see if I could find a cable piece similar to the AE Bus that allows a lever to control whether there cable is active or not-an on/off switch for the cable per-se-so I could just do it that way. Right now I just destroy and replace the cable when needed.
Your problem is here:
The system will always extract, no matter if the network is inactive or active by redstone setting (this to allow for flexibility to addon developers.)
The system will not extract if canUpdate
returns false though.
You want something like this:
@Override
public boolean canUpdate() {
if (network != null) {
return network.canRun();
}
return false;
}
Ah nice, thanks for that @raoulvdberge ill get it in soon
@Hail4Gaming You want the "Relay" in RS. That turns on or off all blocks AFTER the Relay depending on redstone setting.
It's not really your fault though @modmuss50, the behavior changed silently since July 19th due to a bugfix:
refinedmods/refinedstorage@addeb00#diff-a4cd0b0da86cf618977e510896a10f7b
I forgot this changed network extracting behavior for addons though...