Home›Java›Mods›PlayerAbilityLib
PlayerAbilityLib
ModsJava

PlayerAbilityLib

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

by PyrofabTheModsmith · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.6 · Fabric⬇ Download for 1.21.5 · Fabric⬇ Download for 1.21.3–1.21.4 · Fabric⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20.2–1.20.6 · Fabric⬇ Download for 1.20–1.20.1 · Fabric⬇ Download for 1.19.3 · Fabric⬇ Download for 1.19–1.19.2 · Fabric⬇ Download for 1.18–1.18.2 · Fabric⬇ Download for 1.17–1.17.1 · Fabric⬇ Download for 1.16–1.16.5 · Fabric⬇ Download for 1.20–1.20.1 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

PlayerAbilityLib

PlayerAbilityLib — Minecraft Java mod, screenshot 1

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 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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more