Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crystal-nest/fabric-polyfill
Backport of Fabric API events
https://github.com/crystal-nest/fabric-polyfill
minecraft minecraft-api minecraft-fabric-mod minecraft-mod mod-api
Last synced: 2 days ago
JSON representation
Backport of Fabric API events
- Host: GitHub
- URL: https://github.com/crystal-nest/fabric-polyfill
- Owner: Crystal-Nest
- License: gpl-3.0
- Archived: true
- Created: 2023-10-22T14:08:23.000Z (11 months ago)
- Default Branch: 1.18.2
- Last Pushed: 2024-06-03T07:27:40.000Z (4 months ago)
- Last Synced: 2024-09-25T20:02:10.574Z (2 days ago)
- Topics: minecraft, minecraft-api, minecraft-fabric-mod, minecraft-mod, mod-api
- Language: Java
- Homepage: https://modrinth.com/mod/fabric-polyfill
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![Fabric Polyfill banner](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/fabric-polyfill/banner.png)
---
![Minecraft](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/minecraft/minecraft.svg)[![1.18.2](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/minecraft/1-18-2.svg)](https://modrinth.com/mod/fabric-polyfill/versions?g=1.18.2)![Separator](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/separator.svg)[![1.16.5](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/minecraft/1-16-5.svg)](https://modrinth.com/mod/fabric-polyfill/versions?g=1.16.5)![Loader](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/loader/loader.svg)[![Fabric](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/loader/fabric.svg)](https://modrinth.com/mod/fabric-polyfill/versions?l=fabric)
![Overlay](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/side/client-server.svg)
![Issues](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/github/issues.svg)[![GitHub](https://raw.githubusercontent.com/crystal-nest/mod-fancy-assets/main/github/github.svg)](https://github.com/crystal-nest/fabric-polyfill/issues)
---
# **Deprecated**
This mod is deprecated as 1.16.5 is no longer supported and 1.18.2 backported event has been moved to [Cobweb](https://github.com/Crystal-Nest/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`:
```groovy
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](https://github.com/crystal-nest/fabric-polyfill#readme).
This project is published under the [GNU General Public License v3.0](https://github.com/crystal-nest/fabric-polyfill/blob/master/LICENSE).## **Support us**
[![Bisect Hosting](https://www.bisecthosting.com/partners/custom-banners/d559b544-474c-4109-b861-1b2e6ca6026a.webp "Bisect Hosting")](https://bisecthosting.com/crystalspider)