Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Crystal-Nest/fabric-polyfill

Repository files navigation

Fabric Polyfill banner


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