一款允许你执行 Python 脚本或使用 Python 制作模组的模组。
它拥有“Minecraft”API,允许你放置方块、召唤实体、监听事件等;自上次更新后,你还能够以自定义命名空间注册物品、方块、创造模式标签页、标签等。
你可以随心所欲地操作:无论是为你的整合包添加方块和合成配方,还是将 LLM API 密钥接入服务器。
用户无需安装任何 Python 环境即可使用该模组。 本模组在 jar 包中内置了 GraalPy(一种 Java 实现的 Python)及 pip。
你可以在你的模组中安装任意纯 Python 编写的 Python 包。
部分原生库已用 Java 重写并包含在 PyFish 中。现已内置以下原生库:
requests, sqlite3, asyncio, logging, pathlib, 以及 websocket
你需要将脚本放入 <你的我的世界实例>/pyfish/<你的文件夹>/scripts/(“你的文件夹”的名称将用作注册物品等的命名空间),或者放入 <你的我的世界实例>/pyfish/scripts/(如果放入 pyfish/scripts,则会在 pyfish 的命名空间下注册)。这些脚本会被自动执行。
你还可以制作 .jar 格式的模组以及 .pyz(100% Python)格式的模组。
详细文档(现已支持 IDE!)请见 此处,并在 Discord 获取支持 (文档包含了 MCAPI 所有可用函数的列表及其使用方法,以及所有必要信息)
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.
You can also make .jar mods and also .pyz (100% python) mods.
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)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
下载 PyFish (python)
- 添加了定向配方编辑功能:可替换输入和输出、使用过滤器移除配方等。
- 添加了透明方块渲染及可配置的形状、碰撞、光照、音效、移动修正、掉落物与挖掘要求。
- 添加了对需要额外数据的粒子效果的支持。
添加了 player.getItemInSlot(slot) 和 player.getArmorItemId(slot_name)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
一个基于构建器的 Minecraft 配置库!
评论 0
登录后参与评分
还没有评论,来抢沙发吧