CircuitSim

Quick rating

CircuitSim

No reviews yet

CircuitSim is a Minecraft Forge mod for version 1.20.1 that lets you build and simulate real electronic circuits inside the game. Place component blocks in the world, connect them with wires, and run a full SPICE simulation powered by ngspice.

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
GNU General Public License v3.0 only
Latest Version
1.5.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

CircuitSim — A Minecraft Circuit Simulation Mod

This mod was built entirely with AI assistance.

CircuitSim is a Minecraft Forge mod for version 1.20.1 that lets you build and simulate real electronic circuits inside the game. Place component blocks in the world, connect them with wires, and right-click the Simulate Block to run a full SPICE simulation powered by ngspice.

Non-inverting amplifier

Miller amplifier

MOSFET output characteristics


Features

Passive & basic components

  • Resistor, Capacitor, Inductor
  • Voltage sources: DC, sinusoidal (SIN), pulse (PULSE)
  • Current source
  • Diode
  • Wire and Ground

Controlled (dependent) sources

  • VCVS — voltage-controlled voltage source (E)
  • VCCS — voltage-controlled current source (G)
  • CCVS — current-controlled voltage source (H)
  • CCCS — current-controlled current source (F)

IC / PDK components

  • IC Resistor, IC Capacitor
  • IC NMOS4, IC PMOS4 (4-terminal MOSFETs)
  • SKY130A PDK support with .lib path configuration, plus a generic placeholder PDK and a free-form .include mode for custom libraries

Multi-cell blocks

  • Amplifier — 5×5 op-amp subcircuit with selectable 5-pin or 7-pin (offset-null) variants and a vertical-mirror toggle for swapping inverting/non-inverting inputs and supply rails

Measurement

  • Voltage Probe — labelled, measures node voltage
  • Current Probe — placed in series to measure branch current

Simulation control

  • Simulate Block — runs the analysis. Supported types:
    • .OP — DC operating point
    • .AC — frequency sweep (start/stop/points-per-decade, log-frequency axis)
    • .TRAN — transient analysis (time step, stop time)
    • Temperature — single value (e.g. 27) or sweep spec (e.g. 20:40:5 or 20,30,40) for one run per temperature
    • ngspice compat modes: hsa, psa, lt, ki, va
    • Parametric Block — sweeps a target component's parameter (value, W, L, mult, nf) across runs
    • Commands Block — multi-line block of raw ngspice commands injected verbatim into the netlist .control section
    • Sim Link Block — bridges two physically-disconnected sub-circuits into the same netlist without unioning their nodes (useful for routing a CCVS/CCCS controlling source from a remote region)

Output

  • Graph screen — plot up to two probes simultaneously (stacked), with hover tooltips showing exact values; log10 X axis for AC sweeps
  • SPICE simulation via ngspice as a subprocess — real node voltages and branch currents
  • .OP results printed to the in-game chat
  • In-game GUI for every component to configure values with SI-suffix parsing (p, n, u, m, k, M, …)

Requirements

  • Minecraft 1.20.1
  • Minecraft Forge 47.3.0
  • Java 17
  • ngspice installed and available on your system PATH

Installation

Method 1: Just take it

  1. Install Java 17 and Minecraft Forge 47.3.0 for Minecraft 1.20.1.
  2. Install ngspice and make sure ngspice_con (Windows) or ngspice (Linux/Mac) is accessible from your terminal.
  3. Grab the Latest Release
  4. Put the mod into your Minecraft mods/ folder

Method 2: Build it yourself

  1. Install Java 17 and Minecraft Forge 47.3.0 for Minecraft 1.20.1.
  2. Install ngspice and make sure ngspice_con (Windows) or ngspice (Linux/Mac) is accessible from your terminal.
  3. Clone this repository:
    git clone https://github.com/Dank0v/circuitsim.git
    cd circuitsim
    
  4. Build the mod using the Gradle wrapper:
    # Windows
    gradlew.bat build
    
    # Linux / Mac
    ./gradlew build
    
  5. Find the compiled .jar in build/libs/ — it will be named something like circuitsim-x.x.x.jar.
  6. Drop that .jar into your Minecraft mods/ folder.
  7. Launch the game.

How to Use

  1. Open the Circuit Simulator creative tab to find all blocks.
  2. Place component blocks and connect them with Wire blocks. Every circuit needs at least one Ground block.
  3. Right-click any component to open its configuration GUI and set its value.
  4. Place a Simulate Block anywhere connected to the circuit.
  5. Right-click the Simulate Block to run the simulation. Results appear in chat.

Probes

  • Voltage Probe — place adjacent to a wire node. Right-click to give it a label. The simulation will report the voltage at that node.
  • Current Probe — place in series (between two wires) to measure current through that branch.

Known Issues / TODO


License

GPL-3.0 — see LICENSE.

Screenshots

Gallery

  • Voltage Divider Example
    Voltage Divider Example
  • Non-Inverting Amplifier Example (PSpice)
    Non-Inverting Amplifier Example (PSpice)
  • MOSFET Output Characteristic (HSPICE)
    MOSFET Output Characteristic (HSPICE)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works