promotional bannermobile promotional banner

MinePython

Write real Python 3.12 on a programmable ESP32 block. A full in-game editor with LSP and autocomplete, redstone I/O, data I/0, persistent and volatile memory (RAM), and wireless networking between chips
Back to Files

minepython_1.0.2_beta

File nameminepython-1.0.2.jar
Uploader
liliastdoutliliastdout
Uploaded
Jun 26, 2026
Downloads
27
Size
640.7 KB
Mod Loaders
Fabric
File ID
8325280
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:minepython-1584970:8325280"

Learn more about Curse Maven

What's new

MinePython 1.0.2 Changelog 

This update focuses on stability: chips and networks now survive restarts, several server freezes and crashes are fixed, and the editor handles long content cleanly.

Persistence & Networking

  • Running ESPs now survive server restarts. Their code, files, and RAM are saved with the world and restored automatically on start. Networks come back online instantly, even for receivers in unloaded chunks.
  • Chips that use upgrade chips (async workers, EMC storage, console) also restore themselves after a reload. No more re-flashing on-site to re-register.
  • Interdependent networks self-assemble on startup. If chip A needed chip B and B started a moment later, A used to stay down. Now restored programs re-run in rounds until the network settles. Start-only and bounded, so a truly broken program won't loop forever. The server log shows "startup convergence: ..." as the network comes up.
  • Chips are saved more often, so they come back reliably after a crash or hard restart, not just a clean shutdown.
  • Far-away ESPs no longer stop or pause. A running chip keeps its exact state at any distance and stays fully networked. (Local redstone/GPIO output pauses while far away to save resources; networking always keeps running.)

Crash & Freeze Fixes

  • Fixed a server freeze when a loop without CPU.sleep (e.g. spamming chat or print) could lock up the whole server. Such loops are now rate-limited, and the console warns you to add a CPU.sleep.
  • Fixed the console wedging on very large output (e.g. a big network cache). Output is now bounded and safe, so updates keep flowing.
  • fill()/clone() can no longer freeze the server: block work is now spread across ticks.
  • Fixed a rare crash that could abort a world save if a program wrote to RAM mid-save. RAM is now snapshotted safely.
  • Deeply nested code (e.g. ~1000 brackets) reports a clean SyntaxError instead of crashing on flash.
  • A serial reader with a very large byte length, or an out-of-range network clock, can no longer hang or exhaust server memory.

"Ghost" Chips & Network Channels

  • Fixed "ghost" ESPs: breaking or moving a chip while far away could leave an invisible copy running and fighting the new chip for the same channel, causing flicker and stale saves. Ghosts are now detected and removed when you return, and the save is cleaned up.
  • A finished or crashed program frees its network channel immediately instead of holding it for ~a minute, so re-placing a chip on the same port reconnects cleanly.
  • When two chips share the same port id, the server log now warns you (previously the second silently took over).

Python Correctness

  • Errors that used to be uncatchable (e.g. an oversized command coordinate or network port, 2**(10**20), too few arguments) are now normal Python errors you can try/except.
  • int.to_bytes() now actually returns the bytes (it always returned an empty list before).
  • Several fixes: == deferring via NotImplemented, big-int vs float comparisons, float in range(), str.startswith/endswith with negative bounds, min/max(default=), int(x, base), hash() of objects, raise X from Y keeping the cause, multi-line f-string fields, and a bad sort comparator no longer crashing.

Chips & Storage

  • Software chips (e.g. ConsoleDriver) now drop as items when you break or move an ESP32, instead of being destroyed.
  • Re-applying the same firmware card to a stopped S3 program no longer secretly restarts it.
  • EMC storage now counts file names against capacity, so a loop making empty files can't quietly bloat your save.

Editor & Quality of Life

  • Long console lines are no longer cut at 200 characters. Output wraps across multiple lines in both the console and full-log view, and the console fills from the top again.
  • Pasting a huge clipboard no longer freezes the editor.
  • Autocomplete now works for aliased imports (import commands as cmd) and no longer mis-suggests a module's API for a parameter named after that module.
  • The status bar now shows "finished" when a program ends normally, instead of a confusing "idle".

Textures

  • Reworked the chip icons: each multi-tier family now shares one clear base icon. Async Worker chips (AWC, incl. Dual) use a memory-stick icon, Wifi Repeaters (WR) use a wifi-repeater icon, and the Console chip has a new icon.
  • Remade the EMC storage icons (incl. a new netherite tier), the S3 firmware icon, and the ESP32 block textures.
  • A custom 3D model for the ESP32 is in progress. For now it's still a block, which is fine for beta ig.

This mod has no additional files