ModsFinder

PyFish (python)

by OesphyGG

PyFish lets players and modpack makers run Python 3.12 scripts inside Minecraft, with GraalPy and its own Python runtime bundled.

FabricNeoForgeClient and serverGNU Lesser General Public License v3.0 onlyOpen source1.21.1 – 1.21.11

What it does

Scripts placed in the pyfish/scripts folder run automatically when the game starts. Each script can use the Minecraft API to set blocks, summon entities, listen for events and register items, blocks, creative tabs and tags under a chosen namespace. Since the last update, registration covers the full set of content types, so a script can build a small content pack without any Java code.

No Python installation is needed on the player's machine, because the runtime comes with the mod. Pure Python packages can be added to the mod as well, and common standard-library pieces such as requests, sqlite3, asyncio, logging, pathlib and websocket are included. Some native packages were recoded in Java and ship inside PyFish, so they work without a separate build step.

PyFish is published for Fabric and NeoForge, with builds for 1.21.1 and 1.21.11 and the latest file, 1.2.5, dated 2026-09-20. Every player and the server need a copy of the mod. The code is open source under the GNU Lesser General Public License v3.0 only, and the project has public source code and a wiki.

Key features

  1. Python 3.12 scripting

    Scripts written in Python 3.12 run in the game and can call the Minecraft API to change the world.

  2. Automatic script loading

    Files in pyfish/scripts run on startup, and content registered from a script uses the namespace the author picks.

  3. Bundled runtime

    GraalPy and the Python pieces it needs are built in, so players install nothing extra on their computers.

  4. Pure Python packages

    Any pure Python package can be installed for a mod, and several standard libraries are already available.

Compatibility

Latest build for each game version and loader.

1.21.111.2.51.2.5
1.21.11.2.51.2.5
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

PyCraft IDE is a Fabric mod for 1.21.1 that runs on client and server under a custom license and is not open source. JsMacros Community Edition is open source under the Mozilla Public License 2.0, supports Fabric and NeoForge for 1.21.5 – 1.21.11, and is client-side only, so it needs nothing on the server. JythonMC uses Jython, is open source under the MIT License, and targets 1.16.2 – 1.17.1 on Fabric, with a client or server optional environment.

ModLoadersGame versionsEnvironmentUpdated
PyFish (python)Fabric and NeoForge1.21.1 – 1.21.11Client and server2026-09-20
PyCraft IDEFabric1.21.1Client and server2026-09-29
JsMacros Community EditionFabric and NeoForge1.21.5 – 1.21.11Client-side only2026-03-24
JythonMCFabric1.16.2 – 1.17.1Client or server, optional2021-10-06

Questions

Does PyFish have to be installed on the server?

Yes. Servers that run it need every player to install it too.

Do players need Python installed to use PyFish?

No. GraalPy and the Python runtime are included, so no separate Python installation is required.

Which loaders and versions does PyFish support?

PyFish is published for Fabric and NeoForge, with files for 1.21.1 and 1.21.11. The latest file is 1.2.5 for 1.21.11.

Where do scripts go?

Scripts are placed in the pyfish/scripts folder and run automatically. Content they register uses the namespace the script chooses.

In the catalog

PyFish (python) is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from OesphyGG

All projects

Similar mods

What the author says

A mod that allows you to execute python scripts or to make your own mods using python. It has a "Minecraft" API that allows you to set blocks, summon entities, listen to events, etc. and since the last update you can also register items, blocks, creative tabs, tags, etc. under the namespace you want.
OesphyGG, on the Modrinth page

Official listing

Owner
OesphyGG
Published
2026-01-25
Updated on Modrinth
2026-09-20
Facts verified
2026-10-15

Tags