Create Electrolysis Basin

An electrolysis basin for Power Grid and Create Crafted Beginning.
Back to Files

electrolysisbasin-0.2.0.jar

File nameelectrolysisbasin-0.2.0.jar
Uploader
ChemiofitorChemiofitor
Uploaded
Dec 6, 2026
Downloads
0
Size
100.8 KB
Mod Loaders
NeoForge
File ID
10082893
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:create-electrolysis-basin-1850630:10082893"

Learn more about Curse Maven

What's new

Added

  • Two machines: the standard Electrolysis Basin (built-in terminals, 250 °C overheat) and the Refractory Electrolysis Basin (no terminals, 800 °C overheat, doubled tanks), sharing one block entity implementation.
  • Continuous production: progress advances every tick by |I| × dt, with integer outputs and inputs topped up proportionally; a single tick may span several batches; progress is persisted; a config option restores batch mode.
  • Temperature: recipes gained min_temperature; below it the basin only conducts and heats without producing. I²R self-heating is the main heat source, and a blaze burner underneath can inject extra power; goggles report "Too cold" and JEI shows the requirement under the recipe.
  • Server config config/electrolysisbasin-server.toml: external heat, continuous-output toggle, and per-machine overheat temperature, thermal mass, dissipation factor and output scale.
  • KubeJS compatibility: event.recipes.electrolysisbasin.electrolysis(...) with item/fluid/gas ingredients and results, the electrical fields and .minTemperature(...); gases use Create Crafted Beginning's CCBGas.of(...) (an equivalent EBGas alias is also provided).
  • JEI: both machines are registered as catalysts; recipes with min_temperature > 250 render the refractory model.

Changed

  • The example recipe is now 1 mB water → 2 GU hydrogen + 1 GU oxygen (charge 0.193 C), same throughput as the previous 250 mB version.
  • In continuous mode, input matching only requires at least one unit instead of a full batch.
  • Goggle status lines are split into "No matching electrolyte / Gas venting / Output is full / Too cold".
  • The JEI footer reads "Cell voltage X V resistance Y Ω", with the temperature requirement highlighted in red.

Fixed

  • Progress could overflow when a single tick carried more charge than one batch, stalling the reaction mid-way (now advanced batch by batch).
  • Abnormal progress values in old saves are normalised on load.
  • Continuous venting is batched every 10 ticks to avoid playing the release sound every tick.
  • Extra fluids in the input tank (e.g. lava next to water) no longer get ignored while electrolysing the rest.

Engineering

  • Added docs/architecture.md with the current layering, data flow and known debt.
  • Maven publishing configured for the Kessoku Tea Time releases repository.