Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Singleplayer only
Links
Tags
Creators
Details
Licensed ARR
Published 2 months ago
Updated 2 months ago
code-mc
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.
Inspired by ComputerCraft.
Experimental preview: code-mc is an early demonstration of XOS embedding and may contain bugs, incomplete features, or breaking changes.
Usage
- Open the in-game chat.
- Select XOS Viewport in the top-left corner.
- Open Files from the bottom navigation.
- Select the script you want to view or run.
- Press the green Run button to execute it.
The interface contains three primary views:
- Files — browse and select XPY programs.
- Viewport — view framebuffer and graphical output.
- Terminal — inspect textual output and runtime messages.
Showcase Dev Vlog
Technical details
- Minecraft 1.20.1
- Forge 47.4.3
- Java 17
- Embedded XOS runtime with JNI compatibility
- XPY program execution
- Integrated XOS framebuffer
Compatibility and features will continue to evolve as XOS develops.
For updates, examples, and discussion, join the xlate Discord.


