介绍
World Init Skill
Grants each player a JSON-configurable set of Epic Fight skilltree passives/skills and Curios slot increases the first time they ever join your world — no commands, no KubeJS scripting required.
Features
- Fully data-driven. Edit
config/world_init_skill/grants.jsonto define exactly what gets granted — no recompiling, no code. - Soft-dependency fallback chains. Each skill slot can list multiple candidates in priority order (e.g. “use this addon’s dodge skill if it’s installed, otherwise fall back to base Epic Fight’s own roll skill”). The first candidate whose mod is actually loaded wins.
- Works with any Epic Fight addon. Not tied to a specific addon list — reference any mod by its modid in the config and it just works, as long as it registers its skills through the normal Epic Fight / Epic Skills (Skill Tree) systems.
- Curios slot grants. Increase any Curios slot type (back, belt, etc.) by any amount.
- Arbitrary commands. A
commandslist lets you run any server command on first join for anything not covered by the structured grant types, with${player}substituted for the player’s name. - Safe by design. Every grant is tracked per-player, per-entry — a player who relogs mid-grant never has anything re-applied or duplicated. A short capped retry window rides out any mod-loading/capability-attach timing races on a freshly created world.
- Live reload.
/world_init_skill reloadre-reads the config without a restart./world_init_skill regrant <players>re-queues players for testing.
Example config
json
{
"skills": [
{
"key": "dodge",
"slot": "dodge",
"candidates": [
{ "mod": "efn", "skillTree": "efn:efn_skills", "skill": "efn:efn_dodge" },
{ "mod": "epicfight", "skill": "epicfight:roll" }
]
}
],
"curios": [
{ "key": "back", "mod": "curios", "slot": "back", "amount": 1 }
],
"commands": [],
"messageKey": "world_init_skill.granted"
}
Dependencies
- Epic Fight (required) — this mod has nothing to do without it.
- Epic Skills / Skill Tree addon (optional) — needed only for candidates entries that specify a skillTree to unlock. Skipped gracefully if absent.
- Curios (optional) — needed only for the curios grant list. Skipped gracefully if absent.
Any other Epic Fight addon you reference by modid in grants.json is a pure soft dependency — nothing to install on our end, no version pinning required.
Why this exists
A first-login skill grant seems simple until you try it on a brand-new world: mods aren’t always fully “warmed up” the instant a player logs in for the very first time. This mod handles that timing robustly with a proper capped retry loop and per-entry tracking, instead of a fragile fixed delay.
常见问题
World Init Skill 支持哪些 Minecraft 版本?
World Init Skill 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
World Init Skill 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
epic_lover 的其他作品
查看全部 →Mobs Epicfied
修复 Epic Fight 生物卡在旧招式组的问题;为每种武器添加自定义连招、技能和配置选项。
Epic Fight Fist Fix
修复 Epic Fight 中空气物品总被判定为战斗优选物品的问题。
Better Combat × Epic Fight Compat
根据你的 Epic Fight 战斗模式状态,在 Epic Fight 和 Better Combat 之间自动切换战斗系统。
Epic Fight Guard Fix
为Epic Fight的盾牌/武器防御系统(基础GuardSkill、Weapons of Miracles的Perfect Bulwark以及Epic Fight Nightfall的招架)提供Mixin修复,并修复徒手战斗及其他核心bug。
评论
登录后评论和评分