Rather than electrolysis be a boring feature that exists solely to make metals from metal salts and sodium from brine, I propose that it could be "sandbox". This means that electrolysis would not have hardcoded reactions( Perhaps aside from the metal salts), rather, it would be based off electronegativity and Redox reactions.
To show how this could potentially function, I'll show an example of electrolysis of acidic water:
The Hydrogen ions and electrons then move to the Cathode
Cathode (Reduction)
2H+ + 2e- --> H2
The end result is H2 and O2
To implement this, there could be a setting for dynamos to be a cathode, anode or both (Electrode materials could be a feature).
To allow for gas to be involved in electrolysis, you could use an electrolytic cell(place a dynamo under a vat to do this).
I think this would allow for more interesting non-hardcoded reactions and more ability to obtain molecules in alternate ways.
An extra example (The electrolysis of brine):
Anode (oxidization)
Cl2- --> Cl2 + 2e-
Cathode(reduction)
H2O + 2e- --> H2 + 2OH-
The end result is 2NaOH + H2 + Cl2
I may have got some things wrong, it would be nice to correct me if so.
Rather than electrolysis be a boring feature that exists solely to make metals from metal salts and sodium from brine, I propose that it could be "sandbox". This means that electrolysis would not have hardcoded reactions( Perhaps aside from the metal salts), rather, it would be based off electronegativity and Redox reactions.
To show how this could potentially function, I'll show an example of electrolysis of acidic water:
Anode (Oxidization) H20 --> 2H+(proton) + 0.5 moles of O2 + 2e-(electrons)
The Hydrogen ions and electrons then move to the Cathode
Cathode (Reduction) 2H+ + 2e- --> H2
The end result is H2 and O2
To implement this, there could be a setting for dynamos to be a cathode, anode or both (Electrode materials could be a feature). To allow for gas to be involved in electrolysis, you could use an electrolytic cell(place a dynamo under a vat to do this).
I think this would allow for more interesting non-hardcoded reactions and more ability to obtain molecules in alternate ways.
An extra example (The electrolysis of brine): Anode (oxidization) Cl2- --> Cl2 + 2e-
Cathode(reduction)
H2O + 2e- --> H2 + 2OH-
The end result is 2NaOH + H2 + Cl2
I may have got some things wrong, it would be nice to correct me if so.
Minecraft username: Redflox_