ExtraSpecialLib
Extra Special Studio 模组的共享后端辅助工具——包括模组列表检查、小型注册表,以及可选的 Forge 配置构建器实用程序,避免每个 ES 模组重复实现相同的胶水代码。
ExtraSpecialLib (ESL) 是一个库类模组。它本身不添加任何游戏玩法、物品、界面或“主要功能”。它也不拥有任何面向玩家的配置文件。其他 Extra Special Studio 模组依赖它来获取轻量级的共享后端工具,以确保整个模组栈中的软依赖关系和注册表保持一致。
功能介绍:
ESL 提供了一套小型 Esl* API:EslMods 用于“某模组是否已加载?”的检查及存在时运行的钩子,EslRegistry 用于线程安全的键值注册表,EslStrings 用于简易字符串辅助工具,以及 EslConfig 用于可选的 ForgeConfigSpec 构建器辅助(仅提供 begin / push / pop)。此外还有 EslLobby / EslLobbyManager / EslLobbyEvent 用于服务器端组队会话(无数据包或 GUI),EslWaveSequence / EslWaveController / EslWaveManager 用于多轮防御波次,以及 EslForceLoadRegistry 用于按站点 ID 保持单个区块加载,随世界保存并在服务器启动时重新应用。这些配置辅助仅涉及结构定义——它们不定义任何配置项键名,也不写入 TOML 文件。实际设置始终由使用方模组管理(例如 ExtraSpecialCore 的主题配置、ES Hub 客户端设置)。ESL 不包含任何 GUI、渲染或屏幕循环代码。
工作原理:
依赖 ESL 的 ES 模组在其自身代码中调用 ESL。软集成使用 EslMods 而非硬编码类引用。当 ESS 栈中的模组需要共享的配置部分脚手架时,可以使用 EslConfig,同时仍声明并拥有自己的 Forge 配置文件。ESL 不会打开菜单、绘制 UI、决定游戏规则或集中管理资源包设置。
使用方法:
玩家:如果某个模组的页面说明需要 ExtraSpecialLib / ESL(通常因为 ExtraSpecialCore 需要它),请添加与作者测试过的相同 Minecraft + 加载器(Forge / NeoForge)版本的构建文件。单独安装 ESL 你不会获得新菜单或新配置——它的存在是因为其他模组依赖它。
作者(Extra Special Studio / 未来的 ES 模组):将 ESL 声明为依赖项;根据需要使用的 EslMods / EslRegistry / EslStrings / EslLobby / EslWave / EslForceLoadRegistry。仅在作为可选构建器辅助时使用 EslConfig——保留所有实际配置键名和 TOML 在你的模组中。非 ESS 栈的内容模组应完全自主管理其配置。
重要提示:
ESL 是依赖项,不是独立内容包,也不是共享设置的集合。配置文件保留在各自的模组中;只有 ESS 栈(ExtraSpecialCore、ES Hub、Extra Special GUI 以及未来的 ES 模组)才应依赖 ESL 辅助工具。确保加载器和游戏版本与需要它的模组匹配(如果分别发布,Forge 和 NeoForge 变体是分开的)。如果加载失败,首先检查依赖 ESL 的模组,然后确认 ESL 版本和加载器是否与整合包匹配。
ExtraSpecialLib
Shared backend helpers for Extra Special Studio mods—mod-list checks, small registries, and optional Forge config-builder utilities without every ES mod re‑implementing the same glue.
ExtraSpecialLib (ESL) is a library mod. It doesn’t add gameplay, items, screens, or a “main feature” by itself. It also doesn’t own any player-facing config files. Other Extra Special Studio mods depend on it for thin shared backend utilities so soft dependencies and registries stay consistent across the stack.
What it does:
ESL ships a small Esl* API: EslMods for “is this mod loaded?” checks and run-if-present hooks, EslRegistry for thread-safe keyed registries, EslStrings for tiny string helpers, and EslConfig for optional ForgeConfigSpec builder helpers (begin / push / pop only). Also EslLobby / EslLobbyManager / EslLobbyEvent for server-side party sessions (no packets or GUI), EslWaveSequence / EslWaveController / EslWaveManager for multi-round defense waves, and EslForceLoadRegistry to keep one chunk loaded per site id, saved with the world and reapplied when the server starts. Those config helpers are structure only—they define no keys and write no TOML. Actual settings always live in the consuming mod (e.g. ExtraSpecialCore theme configs, ES Hub client settings). ESL has zero GUI, render, or screen-loop code.
How it works:
Dependent ES mods call ESL from their own code. Soft integrations use EslMods instead of hard class references. When an ESS-stack mod wants shared config section scaffolding, it can use EslConfig while still declaring and owning its own Forge config files. ESL does not open menus, draw UI, decide game rules, or centralize pack settings.
How to use it:
Players: If a mod’s page says ExtraSpecialLib / ESL is required (often because ExtraSpecialCore needs it), add the same Minecraft + loader (Forge / NeoForge) build the author tested with. You won’t get a new menu or a new config from ESL alone—it’s there because another mod needs it.
Authors (Extra Special Studio / future ES mods): Declare ESL as a dependency; use EslMods / EslRegistry / EslStrings / EslLobby / EslWave / EslForceLoadRegistry as needed. Use EslConfig only as optional builder helpers—keep every real config key and TOML in your own mod. Content mods outside the ESS stack should keep their configs fully in-house.
Important:
ESL is a dependency, not a standalone content pack and not a shared settings dump. Configs stay in their own mods; only the ESS stack (ExtraSpecialCore, ES Hub, Extra Special GUI, and future ES mods) should lean on ESL helpers. Match loader and game version with the mods that require it (Forge and NeoForge variants are separate if published that way). If something fails to load, check the mod that depends on ESL first, then confirm ESL version and loader match the pack.
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESL] Extra Special LIB
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
ExtraSpecialLIB 1.2.0
新增内容:
ESL 1.2.0 已支持 NeoForge 上的 Minecraft 26.3。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧