PyFish (python scripting and modding)

Allows to execute python 3.12 scripts, add content, etc. in minecraft and also to make minecraft mod using GraalPy so no python installation is needed to play

curseforge modrinth discord-singular

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.

You can do whatever you want from adding blocks and crafts to your modpack to connecting your LLM API key to your server.

The user don't have to have anything installed for Python to work. This mod has GraalPy (a java Python) and pip integrated in its jar.

You can install every python package that is pure python you want in your mod.

Some Native packages are recoded in Java and included in PyFish. Native libs built-in now : requests, sqlite3, asyncio, logging, pathlib, and websocket

You have to put your scripts in <your_mc_instance>/pyfish/<your_folder>/scripts/ (the name of "your_folder" will be the namespace used to register items, etc.) or in <your_mc_instance>/pyfish/scripts/ (if you put in pyfish/scripts it will register under pyfish's namespace), they are executed automatically.

Fully detailed Documentation (IDE Support now !) here and Support on Discord (the documentation contains the list of every functions available from the MCAPI and how to use them and also all needed informations)

The PyFish (python scripting and modding) Team

profile avatar
  • 6
    Projects
  • 14.5K
    Downloads

More from OesphyGGView all