PlayerAbilityLib
你是否遇到过飞行护符在你运行 /fly 命令后立即失效的问题?或者魔法喷气背包让旁观者穿透地面的情况?又或者幽灵模式在毫无理由的情况下阻止你飞行?
模组之间关于玩家能力的冲突比我们希望的更为常见,且对模组开发者来说很难避免。本库可供任何与 PlayerAbilities 类交互的 Quilt 或 Fabric 模组使用,以轻松避免上述问题。
API 设计部分灵感来自 Chloe Dawn
玩家信息
普通玩家无需自行下载此库,因为它旨在被嵌入到分发的 jar 文件中。
如果你发现某个模组导致了与玩家能力(例如飞行)相关的兼容性问题,你可以(礼貌地)向作者推荐此 API,并询问他们是否在涉及 PlayerAbilities 的地方使用它。
开发者信息
开发者应使用 Gradle 来设置对此库的依赖。具体说明请参阅 仓库的 README。
你可以在 测试模组 中找到一些使用示例:
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.
下载 PlayerAbilityLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerAbilityLib
下载 PlayerAbilityLib
下载 PlayerAbilityLib
下载 PlayerAbilityLib
下载 PlayerAbilityLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerAbilityLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerAbilityLib
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧