McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
95 stars 53 forks source link

Logic channels should not require RF #27

Open keithaw opened 7 years ago

keithaw commented 7 years ago

I really want to be able to implement a "sleep mode" for my networks, so that they do not require RF until they have work to do. To help implement this, I need to be able to dynamically turn on and off networks and channels. I have submitted other issues to this effect.

More to the point of this issue, it would be nice to be able to control the "sleep mode" with the network's internal logic capabilities. However, this would require leaving the logic channel on, and this channel, like all others, requires RF at all times.

If logic channels required no RF, then a controller could have a real sleep mode, using no RF until there was work to do. If you feel that some of the logic operations should require power then I would suggest that the channel itself require no RF, and that checking redstone signal should require no RF, but more complicated operations (scanning inventories?) have an RF cost when used.

McJty commented 7 years ago

Note that you can disable this RF usage in the config but an in-game way to disable the entire controller might be nice so I'm considering that

BrianEdmonds commented 7 years ago

Allowing for redstone control of the controller itself would seem to be a simple solution for people wanting to turn whole networks on and off, and consistent with how most modded blocks work.