跳到正文

Fabric Polyfill

作者:Crystal Nest

Backport of Fabric API events

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Fabric Polyfill


Minecraft1.18.2Separator1.16.5

LoaderFabric

Overlay

IssuesGitHub


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

Crystal Nest WebsiteDiscordPatreonKo-fiOur other projectsModrinthCurseForge

Bisect Hosting

常见问题

Fabric Polyfill 支持哪些 Minecraft 版本?

Fabric Polyfill 支持 Minecraft Java 版 1.16.5–1.18.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Fabric Polyfill 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Crystal Nest 的其他作品

查看全部 →