CyclopsMC / IntegratedDynamics

A Minecraft mod to take full and automated control of your appliances.
http://cyclopsmc.github.io/IntegratedDynamics/
MIT License
131 stars 62 forks source link

Feature: ability to disable entire networks (all connected parts and readers) #1333

Open laundmo opened 7 months ago

laundmo commented 7 months ago

Issue type:


Short description:

Often an Integrated Dynamics network does not need to be running permanently. I would appreciate a way to turn off an entire ID network, such that its parts and readers are not actively checked at all. This should be a Redstone input, such that a lever or Redstone logic can be used to toggle it.

The example use case is a mob farm with toggle-able light sources - it has quite many predicate based ID filters, which can cause lag. I would love to be able to toggle the ID network along with the light sources, such that parts and variables only ever operate while the farm is in-use.

rubensworks commented 7 months ago

Thanks for the suggestion!

laundmo commented 7 months ago

Thanks for noticing so quickly. I know this is at its core a performance problem, but i think a solution like this can help ameliorate those issues with hopefully much less implementation effort.

laundmo commented 7 months ago

My current solution involves a logic cable which connects the variable stores to the network, which you break, effectively disabling it.