
code-mc
Write python inside of minecraft to control the world as a developer.
Screenshots

About this Mod
code-mc
Write python inside of minecraft to control the world as a developer.
Updates and source code coming soon!
Inspired by computer craft.
Please join our our discord!
Note: Highly experimental! More to come!
Video Demonstration
Usage
Open in-game chat and click the top left button that says "xos viewport". Next, click "files" in the bottom left of the screen, and select a script you want to read/run. Now, click the green button in the bottom left to execute the script.
There are 3 buttons, files, viewport, and terminal for navigation, you can swap between those tabs to see if there were any pixel outputs.
More examples and advanced coding features coming soon, including an AI code generator!
For news and updates on developments, please join our discord!
Technical Details
Built for Forge 47.4.3 on Minecraft 1.20.1 and Java 17 (will update as development continues).
Available Versions
How to Install code-mc on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "code-mc". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
code-mc server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is code-mc compatible with forge?
code-mc officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with code-mc – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if code-mc consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install code-mc with just one click on your server.