
Fabric Polyfill
Fabric API 事件的反向移植
查看大图
已弃用
此模组已弃用,因为 1.16.5 不再受支持,且 1.18.2 的移植事件已移至 Cobweb。
描述
从更高版本移植回来的一些 Fabric API 事件。
移植的事件
ServerLivingEntityEvents
如何使用
要在你的项目中导入此 API,请在你的 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")))
}
要使用这些事件,请像在更新版本的 Minecraft 中使用普通 Fabric API 事件一样使用它们。
许可证和使用权
欢迎在任何整合包或视频中使用此模组,只需确保注明出处,并尽可能链接到此处。 此项目在 GNU General Public License v3.0 下发布。
支持我们
正在加载版本记录…








正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。