PlayerAbilityLib
Have you ever had an issue with a flight charm that stopped working as soon as you ran a /fly command ? Or a magic jetpack that made spectators sink through the ground ? Or a ghost mode that didn't let you fly for seemingly no reason ?
Mod incompatibilities with player abilities are way more common than we would like them to be, and are very difficult for mod developers to avoid. This library can be used by any Quilt or Fabric mod that interacts with the PlayerAbilities class to avoid the aforementioned issues without difficulty.
credits to Chloe Dawn for some of the API design
Player information
Players should not have to download this library themselves, as it is intended to be embedded in distributed jar files.
If you find a mod that causes incompatibility related to player abilities (eg. flight), you can link the author (politely) to this API and ask if they could use it wherever they touch PlayerAbilities.
Developer information
Developers should use gradle to setup a dependency on this library. Instructions are given in the repository's README.
You can find a couple usage examples in the Test Mod.
How to Install PlayerAbilityLib (Mod)
PlayerAbilityLib by Pyrofab is verified for Fabric, Quilt across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 1.16.0, file size: 27 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded PlayerAbilityLib file into your Minecraft
.minecraft/modsfolder and launch the game.
- Updated to 26.1
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.16.0/changelog.md "Changelog")
- Updated to MC 1.21.9 (thanks to Patbox)
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.15.0/changelog.md "Changelog")
Turns out we skipped a version number, hopefully nobody will notice
- Updated to MC 1.21.6 (thanks as always to Patbox)
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.14.0/changelog.md "Changelog")
- Updated to MC 1.21.5 (thanks again Patbox !)
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.13.0/changelog.md "Changelog")
- Updated to MC 1.21.3
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.11.0/changelog.md "Changelog")
- Updated to MC 1.21 (thanks peterv5!)
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.10.0/changelog.md "Changelog")
- Updated to MC 1.20.2
With thanks to Patbox for handling the past three updates
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.9.0/changelog.md "Changelog")
- Updated to MC 1.20
see full changelog [here](https://github.com/Ladysnake/PlayerAbilityLib/blob/1.8.0/changelog.md "Changelog")