Skip to content

make some interesting commands in minecraft with python

License

Notifications You must be signed in to change notification settings

xuetaolu/python-in-minecraft

Repository files navigation

python-in-minecraft

make some interesting commands in minecraft with python

https://www.bilibili.com/video/av52803181/ QQ群:374821554

资源说明:

  1. 游戏版本使用 1.12.2-forge1.12.2-14.23.4.2759
  2. 提供MOD,TickrateChanger-1.0.14.jar(用于改变游戏 tick 默认 20),OptiFine_1.12.2_HD_U_E2.jar(一个增强渲染的mod),MidiOut_v1.1.5.jar(让游戏能使用midi播放设备)

主要思路:

使用 python 读取 .midi 文件生成游戏需要的 .mcfunction 文件,然后进入游戏使用 /reload 指令加载 .mcfunction 文件

代码:红石音乐 狂妄之人 传说之下

代码:特效钢琴 eternal reality 超炮 OP2

代码:瀑布音乐 跳跳糖 克列门蒂小奏鸣曲 Op.36 No.1

代码:minecraft-function-builder/run.py

代码:minecraft-function-builder/run_noteBlock.py

代码:minecraft-function-builder/run_somaCmdBlock.py

备注:

python安装教程 所需mido模块安装教程

About

make some interesting commands in minecraft with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published