介绍
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.
This is a library mod and that obviously means, it does not affect the users experience in any way.
常见问题
Dye 支持哪些 Minecraft 版本?
Dye 支持 Minecraft Java 版 1.17–1.20.1,共 12 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Dye 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
noeppi_noeppi 的其他作品
查看全部 →LibX
LibX 是一个前置模组,包含大量在多个模组间共用的代码。
MythicBotany
深入探索植物魔法的世界
UtilitiX
物品种类丰富,值得拥有
MoreTweaker
为 ModTweaker 未支持的部分模组添加 CraftTweaker 支持:Buildcraft、Railcraft、Draconic Evolution、Enderfuge、Gadgetry、GalactiCraft、Erebus、LightningCraft、Mob Grinding Utils、Blood Arsenal、VoidCraft、Betweenlands、Bewitchment 和 Fossils。
评论
登录后评论和评分