介绍
A library / modlauncher service that exposes the jvm INVOKEDYNAMIC opcode to modders. For more information on how to use it as a modder, see the GitHub.
Some more explanation on this:
The Java Virtual Machine (JVM) has an opcode called INVOKEDYNAMIC. Each individual occurrence of that opcode in bytecode is permanently bound to a CallSite object when executed the first time. This CallSite is obtained by calling a bootstrap method, which is implemented in plain java. This is for example used to implement lambdas in bytecode.
Dye provides a transform service to replace regular method calls to methods annotated with a special annotation with INVOKEDYNAMIC opcodes to a custom bootstrap method given by the annotation value.
常见问题
Dye 支持哪些 Minecraft 版本?
Dye 支持 Minecraft Java 版 1.17–1.20.1,共 12 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Dye 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
noeppi-noeppi 的其他作品
查看全部 →Botanical Machinery
自动化植物魔法其实没你想的那么难。
SandBox
一个世界生成前置库。
Just Enough Advancements (JEA)
An addon for JEI which let you search for advancements. This is pronounced like "yeah".
Bongo
The bingo minigame for recent minecraft versions.
评论
登录后评论和评分