跳到正文

help lib

作者:viethoamod

HelpLib is a lightweight RPG API framework for Forge 1.20.1, providing Player Data, Ability & Cooldown system, network sync, and config tools for mod developers.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

HelpLib is a lightweight RPG API framework for Minecraft Forge 1.20.1.

Designed as a shared library so multiple mods can build on top of it without duplicating common RPG logic. No gameplay on its own — install it alongside mods that require it.

Features

  • Player Data — persistent per-player data (energy, custom states) via Forge Capabilities, synced to client automatically.
  • Ability System — register abilities with cooldowns, energy costs, and use conditions. Fire and forget.
  • Event System — AbilityUseEvent and PlayerDataChangedEvent for hooking into gameplay logic.
  • Network Sync — built-in packet handler keeps server and client in sync out of the box.
  • Config — TOML config via helplib-common.toml for tuning energy regen and other values.

For mod developers

Add HelpLib as a dependency in your build.gradle:

dependencies {
    implementation fg.deobf(files('libs/helplib-1.0.0.jar'))
}

Then access everything through HelpLibAPI — no need to touch internals.

Requirements

  • Minecraft 1.20.1
  • Forge 47.2.0 or higher
  • Java 17

MIT License.

常见问题

help lib 支持哪些 Minecraft 版本?

help lib 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

help lib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

viethoamod 的其他作品

查看全部 →