ExtraSpecialCore
为 ESS 模组共享的字体与小型 UI 构建模块——统一的排版、更清晰的文字绘制,以及可复用的按钮/搜索框,避免每个模组重复实现相同的胶水代码。
ExtraSpecialCore 是一个库模组。它本身不添加任何游戏玩法、物品或“主要功能”。其他模组依赖它来获取 字体资源 和 客户端 UI 辅助工具,从而确保整个生态中的屏幕外观和行为保持一致。
功能说明:
ESC 内置了 字体定义包 (通过 Minecraft 的 Style#withFont)及相关辅助工具:用于绘制和换行带标签文本的 EscText、使用 ESC 样式消息的 EscButtons、匹配相同字体的搜索框 EscSearchBox,以及面板、矩形、滚动列表工具等轻量级布局组件,还有一个小型 UI 样式钩子。EscActionWheel 是一个按住瞄准的径向菜单:消费型模组注册按键、选项和确认回调后,ESC 会绘制该轮盘、播放菜单提示音,并在其打开时防止热键栏按键切换槽位。模组可使用这些组件来构建设置界面、诊断 UI、指南及其他类似面板,从而减少重复代码并统一视觉基准。
工作原理:
ESC 在其命名空间下注册了 extraspecialcore 字体 JSON,并暴露了 ResourceLocation 常量(例如 Fira Code、Monocraft、Unifont 以及若干街机/终端风格字体)。辅助工具将这些字体应用于 Components 和 FormattedCharSequence 行,以确保文本拆分、换行与绘制保持同步。更上层的模组从其自身代码中调用此 API;ESC 不会决定你打开的屏幕界面是什么或何时打开——它仅负责在界面展示时,规定 UI 各部分如何进行绘制。
使用方法:
- 玩家:如果某模组的页面提示需要 ExtraSpecialCore,请添加作者测试所用的相同 Minecraft + 加载器(Forge / NeoForge)构建版本。仅安装 ESC 本身不会带来新的菜单——它的存在是因为其他模组依赖它。
- 开发者:将 ESC 声明为依赖项,使用 EscText / EscButtons / EscSearchBox (以及其他按需使用的原始组件),并从 EscFonts 或内置 ID 中选择一种字体。请将客户端逻辑保留在你的模组中;ESC 保持通用性。
重要提示:
ESC 是一个依赖项,而非独立的内容包。请确保加载器与游戏版本与需要它的模组相匹配(Forge 和 NeoForge 变体是独立的)。如果某些内容未能加载,请先检查依赖于 ESC 的模组,然后确认 ESC 的版本和加载器是否与包匹配。许可证和字体署名归属于该模组(请参阅 FONT_LICENSES / 模组字体文件夹下的 assets,以获取再分发说明)。
ExtraSpecialCore
Shared fonts and small UI building blocks for ESS mods—consistent typography, sharper text drawing, and reusable buttons/search without every mod re‑implementing the same glue.
ExtraSpecialCore is a library mod. It doesn’t add gameplay, items, or a “main feature” by itself. Other mods depend on it for font assets and client UI helpers so screens look and behave the same across the ecosystem.
What it does:
ESC ships bundled font definitions (via Minecraft’s Style#withFont) and helpers around them: EscText for drawing and wrapping labeled text, EscButtons for buttons that use ESC’s styled messages, EscSearchBox for search fields that match the same face, plus light layout pieces like panels, rectangles, scroll‑list utilities, and a small UI style hook. EscActionWheel is a hold-to-aim radial: a consumer mod registers a key, options, and a confirm callback, and ESC draws the wheel, plays the menu cue, and keeps hotbar keys from changing slots while it is open. Mods use these to build settings screens, diagnostics UIs, guides, and similar panels with less duplicate code and a shared visual baseline.
How it works:
ESC registers extraspecialcore font JSON under its namespace and exposes ResourceLocation constants (e.g. Fira Code, Monocraft, Unifont, and a few arcade/terminal faces). Helpers apply those fonts to Components and FormattedCharSequence lines so splitting, wrapping, and drawing stay in sync. Higher‑level mods consume the API from their own code; ESC does not decide what screen you open or when—only how pieces of the UI are drawn when they do.
How to use it:
- Players: If a mod’s page says ExtraSpecialCore is required, add the same Minecraft + loader (Forge / NeoForge) build the author tested with. You won’t get a new menu from ESC alone—it’s there because another mod needs it.
- Authors: Declare ESC as a dependency, use EscText / EscButtons / EscSearchBox (and other primitives as needed), and pick a face from EscFonts or the bundled IDs. Keep client logic in your mod; ESC stays generic.
Important:
ESC is a dependency, not a standalone content pack. Match loader and game version with the mods that require it (Forge and NeoForge variants are separate). If something fails to load, check the mod that depends on ESC first, then confirm ESC version and loader match the pack. License and font attribution live with the mod (see FONT_LICENSES / assets under the mod’s font folder for redistribution notes).
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [ESC] Extra Special Core
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Extra Special Core 2.1.0
新增:
ESC 2.1.0 已适用于 NeoForge 上的 Minecraft 26.3。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧