介绍
Event Wrapper
A useful event Library for modding on forge&fabric
Why use Event Wrapper?
Fed up different event system in different mod loader?
Developing a forge/fabric mod but can’t without forge event?
HERE IS SOLUTION:
@EventBusSubscriberWrapper
public SomeClass {
@SubscriberEventWrapper
public static void onHeal (LivingHealEventWrapper event) {
//Some code on LivingEntity heal...
}
@SubscriberEventWrapper
public static void onEffect(MobEffectEventWrapper event) {
//Some code on LivingEntity add a effect...
}
}
Just add Wrapper behind your forge event method. You can run it on both forge/fabric…
The modded community needs a Qin Shi Huang.
Is it stable?
Sure.
It have the most compatibility on forge, also have compatibility on fabric(uses mixin).
About LTS
We plan to support one Main Version each big minecraft version: 1.20.1,1.21.1
Our Principle
Three E Principle:
- Easy to Use.
- Easy to Migrate.
- Easy to Exit.
Some libraries have caused serious migration disasters, so our principle is easy to use and easy to migrate out.
常见问题
Event Wrapper 支持哪些 Minecraft 版本?
Event Wrapper 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge / Quilt。下载时注意选择和你游戏版本一致的文件。
Event Wrapper 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
评论
登录后评论和评分