CyclopsMC / IntegratedDynamics

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

Allow the network reader to read a list of all variables in a variable store. #1218

Open DasBrain opened 2 years ago

DasBrain commented 2 years ago

Issue type:


Short description:

Currently, a network reader pointed at a variable store shows the value "ERROR" when looking at the value with a network reader.

In some sense, the Variable Store does expose a lot of values to the network - it would be nice if the network reader could provide this as a list.

rubensworks commented 2 years ago

Thanks for the suggestion!

shadow7412 commented 2 years ago

I use-case I have for this is that I have a bunch of booleans that say whether my fission reactor (mekanism) should be running.

Something like this would be a much cleaner solution than calling append and effectively creating n+1 lists. It would also making adding and (especially) removing variables from that list much more pleasant.