Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

Player-Ability-Lib-Forge

Library for fixing player ability incompatiblities

737
0
Library
AboutChangelogVersions

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.

  • Item that toggles an ability
  • Potion that toggles an ability

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.6
1.20.1
1.19.2
1.18.2

Platforms

Forge
NeoForge

Supported environments

Client and server

Links

Report issues View source

Creators

trinsdar
trinsdar Member

Details

Licensed LGPL-3.0-only
Published 9 months ago
Updated 9 months ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.