promotional bannermobile promotional banner

CircuitSimCraft

Teach analog electronics in Minecraft: resistors through transistors, two trading villager professions, AC/Bode analysis, and a real MNA circuit solver (SPICE-family) - not a scripted approximation. Check https://github.com/rpicos-uib/circuitsimcraft.
CircuitSimCraft - by rpicos-uib
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

A Fabric mod that turns Minecraft into an analog electronics lab. Place resistors, capacitors, inductors, memristors, diodes, transistors (NPN/PNP/NMOS/PMOS), all four classic dependent/controlled sources (VCVS/VCCS/CCCS/CCVS), and a full bundled 3-phase electrical system (source, R/L/C, ammeter, Bundler/Unbundler) as blocks, wire them up, drive them with power supplies, function generators, or an AC source, and probe the live voltage/current/ frequency response with a handheld oscilloscope — all backed by a real modified-nodal-analysis (MNA) circuit solver, the same family of algorithm SPICE uses, not a scripted approximation.

This is a teaching tool: the goal is for the in-game behavior to actually match what you'd see on a real bench (RC charge curves, RLC ringing, a memristor's resistance drifting with accumulated charge, a diode's rectified output, a transistor switching on and off, a balanced three-phase current summing to exactly zero at every instant), just at Minecraft-tick timescales instead of real-world ones.

Square wave

What's in the box

Sold across three trading villager professions, so a classroom world can hand out components without creative-mode item-give commands:

  • Electrician (job site: Breadboard) — resistor, capacitor, inductor, memristor, power supply, function generator (+ voltage/frequency modules), wire, ground, ammeter, ideal op-amp, AC source, R2V/V2R redstone-voltage converters, and three oscilloscope probes (time-domain, X-Y, and AC/Bode-plot).
  • Electronics Engineer (job site: Workbench) — diode, NPN/PNP/NMOS/PMOS transistors, current source, voltmeter, and all four classic dependent sources (VCVS/VCCS/CCCS/CCVS).
  • Electrical Engineer (job site: Switchboard) — the full 3-phase world: 3-Phase Wire, Source, Resistor, Inductor, Capacitor, Ammeter, a Bundler/Unbundler pair to cross between the bundled and single-conductor graphs, and a dedicated 3-phase oscilloscope probe showing all three phases overlaid in the standard red/yellow/blue convention.

Two solvers run side by side on the same wiring: an ordinary transient (time-domain) solver for the oscilloscope's live traces, and a separate small-signal AC solver for the AC Probe's Bode-plot frequency sweeps (magnitude + phase, log-spaced) — so the same circuit can show you both a step response and a frequency response.

Ready-made builds

Ten datapack functions build things for you — no manual wiring required. Three set up trading villagers:

/function circuitsimcraft:electrician_shop
/function circuitsimcraft:engineer_workshop
/function circuitsimcraft:electrical_engineer_workshop

Seven wire up complete worked-example circuits (a voltage divider, RC low-pass and RLC resonance Bode plots, a half-wave rectifier, a memristor pinched-hysteresis loop, an op-amp open-loop Bode plot, and a balanced three-phase resistive load), each at default component presets with an unflipped lever and the right oscilloscope probe already in hand:

/function circuitsimcraft:voltage_divider
/function circuitsimcraft:rc_lowpass
/function circuitsimcraft:rlc_resonance
/function circuitsimcraft:half_wave_rectifier
/function circuitsimcraft:memristor_hysteresis
/function circuitsimcraft:opamp_bode
/function circuitsimcraft:three_phase_load
/function circuitsimcraft:three_phase_bundle_unbundle

See the README for the exact right-click counts needed to reach each experiment's intended values and predicted results.

Requirements

  • Minecraft 26.2 — Mojang's new year.release versioning, not the old 1.21.x line.
  • Fabric Loader >= 0.19.3
  • Fabric API 0.155.2+26.2 (must match the Minecraft version — required dependency below)
  • Java 25 — a Minecraft 26.2 requirement in general, not something specific to this mod.

Source, issues, and citation

Source, issue tracker, and full documentation: https://github.com/rpicos-uib/circuitsimcraft

If you use CircuitSimCraft in a classroom, a paper, or a derivative mod, please credit the authors: Rodrigo Picos, Stavros G. Stavrinides, George Stavrinides, Ariadna Picos, and Gerard Picos. See the repository's CITATION.cff for the full citation.

License

CC BY 4.0 — unlike a permissive software license (MIT, Apache, etc.), CC BY requires attribution as a legal condition of reuse, not just a courtesy; see the citation above.

The CircuitSimCraft Team

profile avatar
  • 1
    Projects
  • 26
    Downloads