
已弃用
本模组已弃用,因为 1.16.5 版本不再获得支持,且移植到 1.18.2 的事件已移至 Cobweb。
描述
将后期版本中的一些 Fabric API 事件移植过来。
移植的事件
ServerLivingEntityEvents
使用方法
要在你的项目中导入此 API,请在你的 build.gradle 文件中执行以下操作:
repositories {
// 其他仓库...
maven {
url "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven { url = "https://jitpack.io" }
}
dependencies {
// 其他依赖项...
// Fabric API 依赖项
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
// Fabric Polyfill 依赖项(通过 CurseForge 检查正确的文件 ID:在网站上选择文件,打开“Curse Maven Snippet”,并复制该行)
modImplementation "curse.maven:fabric-polyfill-926195:xxxxxxx"
// Fabric Polyfill 所需的 MixinSquared 依赖项
include(api(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-fabric:0.1.1")))
}
要使用这些事件,请像在新版 Minecraft 中使用正常的 Fabric API 事件那样使用它们。
许可与使用权
你可以自由地将此模组用于任何整合包或视频中,只需确保注明出处,并可能链接此处。
本项目根据 GNU 通用公共许可证 v3.0 发布。
支持我们

Deprecated
This mod is deprecated as 1.16.5 is no longer supported and 1.18.2 backported event has been moved to Cobweb.
Description
Backport of some Fabric API events from later versions.
Backported events
ServerLivingEntityEvents
How to use
To import this API in your project, do the following in your build.gradle:
repositories {
// Other repositories...
maven {
url "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven { url = "https://jitpack.io" }
}
dependencies {
// Other dependencies...
// Fabric API dependency
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
// Fabric Polyfill dependency (check the correct file id via CurseForge: select the file on the website, open "Curse Maven Snippet", and copy the line)
modImplementation "curse.maven:fabric-polyfill-926195:xxxxxxx"
// MixinSquared dependency for Fabric Polyfill
include(api(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-fabric:0.1.1")))
}
To use the events, use them as you would with normal Fabric API events in newer Minecraft versions.
License and right of use
Feel free to use this mod for any modpack or video, just be sure to give credit and possibly link here.
This project is published under the GNU General Public License v3.0.
Support us
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
下载 Fabric Polyfill
查看 更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧