SulfurFrame
Run your Minecraft mod's dev client inside the IDE.
Install in
Run your Minecraft mod's dev client inside the IDE.
- The game window is embedded in a tool window or an editor tab, throttled while you edit code, and its memory is handed back while it is hidden.
- Hotswap on save: changed classes (also files changed outside the IDE) are compiled and reloaded into the running game; "Restart into the Same World" goes straight back to where you were.
- The Minecraft version and mod loader are read from the project's build files, including multi-project and Stonecutter-style layouts.
- World snapshots, throwaway test worlds, and worlds shared by every project of the same Minecraft version.
Most edits never need a restart: across 1,080 commits of nine large open-source mods, 65–85% of the changes could go straight into the running game, and the waiting per edit-run step dropped by 63–84%.
Fabric 1.21.1 on Windows and Linux (X11) for now. It is being built alongside a much bigger mod, and more loaders and Minecraft versions are on their way with it.
NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.
Written by Joobi from the project's own listing. See the source page
0.3.1
- Mixins taken out of a
*.mixins.jsonleave the running game (with the JetBrains Runtime); other mixins on the same class stay. Mixins added while the game runs now really apply. - Anonymous classes keep their names across a swap: one added in front of another no longer makes existing objects run the new class's code.
- Reflection keeps working when a swap adds a field in front of others (Gson read a neighbour, and the game could crash).
- A save made while a swap runs is compiled again when it ends, instead of being dropped.
- A module the game loads as a jar older than its classes: the restart builds the jar again through Gradle, and a swap says which classes still come from the old jar.
sf runworks after IntelliJ installed the plugin (the class path was not written);sf swapreports the swap the file watcher already made;sf cmdfails when the game answers with an error.- An agent's feedback report can go to the developers: a notification or
sf feedback sendopens a GitHub issue page filled in (personal names and paths removed), and nothing is posted until you press Submit there.
0.3.0:Fabric 1.21.1, everything a running JVM allows (a long-lived base while other versions and loaders come next).
- Startup code in the running game: new blocks, items and entries of every registry, a changed
onInitialize/onInitializeClient(listeners, commands, key bindings, renderers, screens, payloads, model loading plugins replaced, never added twice), new enum constants, new mixins, changed settings of existing blocks and items, hierarchy changes between the project's own types. Loot tables, commands and tags reload the server's data; world data reopens the world. - Access widener entries added while the game runs apply at once, and can be taken out again.
- Safety: the world is snapshotted before init code runs again, with a restart into it if that fails; a class file that a Gradle build is rewriting is waited for instead of crashing the game; callers of a changed method or field are compiled too, and the swap is refused if they break; a new static field gets the value its initializer gives it instead of staying null; a lambda removed from the code stays in the running game for objects made before the swap (an open screen's callbacks) instead of crashing it; saves while the game is not running are not sent.
- Resources saved in any module of a multi-module run go into the running game (only the run's own module did before), each copied file is logged, and a change to translation files alone reloads just the language and lays out the open screen again instead of reloading every resource.
- Coding agents (Claude Code, Codex, ...): the
sfcommand in~/.sulfurframe/binchecks changes in the running game from a terminal (sf wait,cmd,log,shot,restart...),sf runstarts the game without IntelliJ (Java 25 and an IntelliJ installation needed),sf feedbackandsf relaycollect reports for the developers. Local files only; it can be turned off in Settings. - Tested on Yarn and Mojang-mapped projects and on a large multi-project mod. Run configurations are made for every client found; Java 21+ games no longer log a warning on every agent attach.
- Embedded game on Windows: releasing the mouse (menus, overlays shown while a key is held) no longer fakes a focus loss, so held keys stay held, and the cursor stays in the middle instead of jumping back to where you clicked into the game. Alt no longer opens an invisible IDE menu that kept an Alt overlay open until a click, a key released while the game missed it no longer keeps the player walking, and the first click into the game grabs the mouse instead of attacking.
- Still a restart: removing a registered entry, an enum constant, a mixin or an access widener entry that
was there at startup; a JDK or Minecraft type in a class's hierarchy;
fabric.mod.jsonand build files (restarted without Gradle when nothing else changed).
0.2.1
- The first quick-play launch in a new run folder joins the world: the options.txt SulfurFrame prepares
now carries the game's
version:. Without it Minecraft read the file as a very old one, reset every option and showed the first-launch accessibility screen, so "Restart into the Same World" landed on the title screen. Files left without it by 0.2.0 are repaired on the next start.
0.2.0
- Restarts skip Gradle while the build, JBR, mod metadata and access wideners are unchanged: saved code and resources are compiled and copied first, then the game starts straight from its last command line.
- Starts in the background on Windows and Linux (X11): launching the game no longer takes the keyboard focus or the mouse cursor from the window you are in.
- One-click JetBrains Runtime download when no matching JBR is found in
~/.jdks, so added or removed methods and fields can hotswap live too. - Files edited outside the IDE refresh in open editor tabs as soon as they are hotswapped.
- Builds that choose their own Gradle JVM (a daemon toolchain or
org.gradle.java.home) start even whenJAVA_HOMEis Java 8:gradlewitself gets a Java 17+ JDK. - Multi-project and Gradle 9 parallel builds: each subproject warms its compile classpaths under its own
lock, custom
runDirsettings and all mod IDs across multi-module runs are picked up, subproject build script edits refresh the class path cache, and Java 8 source sets keep higher-Java outputs off their compile class path.
0.1.2
- No deprecated or experimental IntelliJ API use: the editor tab opens through the stable navigation API.
- Self-test checks the world you point it at.
0.1.1
- SulfurFrame keeps its own log of swaps, reloads and restarts in ~/.sulfurframe/logs (14 days, local only, nothing is sent), so you can look back at your sessions.
- Self-test game runs are silent, and your options.txt volumes are left alone.
- The description now shows how much waiting it saves, measured on real projects.
0.1.0: first public release.
- Runs a Fabric 1.21.1 dev client inside the IDE (Windows and Linux/X11), throttled while you type.
- Hotswap on save, including files changed outside the IDE; restart into the same world.
- F11 fullscreen leaves the IDE and comes back embedded.
Follow this listing's changes (Atom feed)