Player-Ability-Lib-Forge
Library for fixing player ability incompatiblities
About this Mod
PlayerAbilityLibForge
This a port of PyrofabTheModsmiths' project PlayerAbilityLib to forge/neoforge
Here is the discription from the original curseforge page:
Spoiler
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 Fabric Forge 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. I recomend using modrinth maven.
You can find a couple usage examples in the Test mod.
Available Versions
How to Install Player-Ability-Lib-Forge on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Player-Ability-Lib-Forge". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.21, 1.20.6 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Player-Ability-Lib-Forge server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Player-Ability-Lib-Forge compatible with forge and neoforge?
Player-Ability-Lib-Forge officially supports forge, neoforge for Minecraft 1.21.1, 1.21, 1.20.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Player-Ability-Lib-Forge – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Player-Ability-Lib-Forge consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Player-Ability-Lib-Forge with just one click on your server.