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

Partial Materialization #1262

Open Snonky opened 1 year ago

Snonky commented 1 year ago

Issue type:


Short description:

The creation of new dynamic variables is currently not automatable other than copying existing cards. In #901 a piped logic programmer was discussed. That would work but is tedious to implement.

An alternative: Aspects for the Materializer. A predicate (e.g. Item -> Boolean or NBT -> Boolean) that would control wether the materializer freezes certain cards' values. Or even simpler - the materializer can be set to only freeze the first or second input value.

Example: A get operator (List -> Integer -> Any) could be applied to a proxy and an integer and the materializer could freeze only the integer leaving a List -> Any operator. Currently this is only possible via manual logic programming.

rubensworks commented 1 year ago

Thanks for the suggestion!

walksanatora commented 1 year ago

why not... just use a proxy (or am i not reading it right)