介绍
中文介绍正在准备中,下面暂时显示原文。
Allows mod developers to code their mods using Apache Groovy.
This project just adds the Groovy libraries – nothing else.
The problem this mod solves
If a mod developer want to write their mod using Groovy language, they have to include the Groovy libraries in their mod
Alternativ ask users to download the groovy.jar and put it in the mods folder, which works but gives stange errors/warnings in the log, as it is not at mod
The benefits of this mod
This mod help out that problem in multiple ways
- The mod developer don’t have to include the Groovy libraries in their mod (they just add a dependency to this mod)
- The same Groovy libraries may be used from multiple mods (no need to have the same thing loaded multiple times)
- No stange errors/warnings in the log – because you have groovy.jar (which is not at mod) in your mod folder
Quick howto
- Add groovy to you build.gradle as you would normally do when you want to use Groovy (add the Groovy plugin and Groovy dependencies)
- Mark you mod as having this mod as a required mod, and make sure to mark it as it needs to be loaded before your mod
常见问题
Groovy Libraries 支持哪些 Minecraft 版本?
Groovy Libraries 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Groovy Libraries 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分