code-mc
by xlate
code-mc puts an in-game development environment inside Minecraft, where players write and run XPY programs against the world.
What it does
Programs are written inside the game through an in-game chat and developer interface, and run on an embedded XOS runtime. The mod adds an XOS framebuffer directly into Minecraft, so a program can render graphics and receive output from the world. The interface is split into three primary views, and the author notes that compatibility features will keep evolving as XOS develops.
Installation requires Forge for 1.20.1, and the mod runs on client and server, so both the server and every player need it. Files are published for 1.20.1 only, with 0.0.1 as the latest Forge file in the alpha channel, released 2026-05-27. The code is released under All rights reserved and is not open source.
Key features
Embedded XOS runtime
XPY programs run inside Minecraft on an embedded XOS runtime, without any external tooling.
Framebuffer output
The XOS framebuffer is added directly to Minecraft, so programs can draw graphical output in the game.
Viewport view
The viewport shows the framebuffer's graphical output while a program runs.
Files browser
The Files panel lists XPY programs so a script can be selected, opened and run with the green Run button.
Terminal output
The terminal displays textual output and runtime messages from the running program.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Scripting the world
A player can write a program in the in-game editor that interacts with the Minecraft world while playing.
Graphical programs
Programs can render drawings to the framebuffer and show them in the viewport.
Who it’s for: Players who want to learn programming inside the game, and server owners who want players to build scripts that interact with the world.
Questions
Which loader does code-mc need?
Does the server need code-mc installed?
Where are programs stored?
In the catalog
code-mc is one of 8,499 Technology mods on ModsFinder, and one of 4,122 Technology mods for Forge. 34,764 mods support Minecraft 1.20.1.
Similar mods
What the author says
Write and run XPY programs inside Minecraft using an embedded XOS runtime. code-mc adds an XOS framebuffer directly to Minecraft, allowing programs to render graphics, receive output, and interact with the Minecraft world from an in-game development environment.
Official listing
- Modrinth page
- modrinth.com/mod/code-mc
- Owner
- xlate
- Published
- 2026-05-27
- Updated on Modrinth
- 2026-05-27
- Facts verified
- 2026-10-15
