Cake Tower HUD Plus 是一款为社区地图 Cake Team Towers · Chapter 3 打造的 HUD 重写及可选的服务器端战斗分析模组。它将 Boss 血条文本和 /trigger ViewStats 刷屏转化为可读的血条、面板和实时团队数据——无需编辑地图,也不需要 OP 权限。
仅限特定地图: 专为 Cake Team Towers Chapter 3 设计。在其他世界或服务器上,UI 会自动隐藏。
功能
状态与生命值
- 自定义生命条:带有渐变效果,并在低血量(约低于 25%)时闪烁警告。
- 四种心类型(红色 / 灵魂 / 黑色 / 蓝色)堆叠显示并实时更新——不再是一堵
ViewStats 文本墙。
- 法力、金币、生命数、动能显示在独立的条形栏上(右下角)。
- 职业感知 UI:切换职业时会显示相应内容(例如吸血鬼的血量槽、果冻的冲刺图标)。
团队与怪物
- 左侧名单:显示皮肤、名称、HP 条、生命数;按生命数排序;你始终位于第一行(金色名称)。支持拖拽;可切换水平或垂直布局。
- 队友的 3D 头顶 HP:可穿透墙壁查看。
- 所有 Boss 血条怪物的 3D 头顶 HP;最近的目标会获得黄色 ▶ 标记;狂暴/精英后缀得以保留;怪物名称颜色与地图保持一致。
统计数据与 Boss 血条
- 冗长的 ViewStats 输出变为双列面板,同时保留工具提示。模式包括:始终显示 / 仅在打开物品栏时显示 / 隐藏。
- 独立开关用于控制自身 / 队伍 / 怪物 Boss 血条——与其他 Boss 血条模组兼容(但仍建议测试你的整合包)。
- 自动化:定期执行
ViewStats,在受到伤害或大型治疗时刷新;屏蔽“Your Stats:”刷屏;可选的自动 TogglePartyBossbar 配合熔断机制以避免因频率限制被踢出。
战斗分析 (v6+)
安装在服务器上(集成单人游戏计数也适用)。已在普通专用服务器上测试通过。
- 9 种伤害类型按玩家追踪并归因(近战 / 子弹 / 力量 / 火焰 / 水 / 冰 / 黑暗 / 光明 / 闪电)——能合理处理队友、召唤物以及持续伤害类效果的继承。
- 击杀 / 助攻 / 受到的伤害;可选的聊天广播(可配置)。
- 团队面板上的实时数据行:伤害、承受、击杀、助攻、滚动 5 秒 DPS;模式:关闭 / 当前阶段 / 整局会话 / 两者皆显示。
- 自动保存:磁盘上最多保存20 个过往会话的数据;在定期更新、阶段转换及关机时保存。
- L(需在控制设置中绑定):详细伤害面板(实验性功能,默认未绑定)。
- N:整局会话的 K/D/A 表格。
配置与本地化
- ModMenu(可选但推荐):主 HUD 屏幕 + 服务器配置子屏幕。
- 所有主要 HUD 面板均支持拖拽。
- 支持 English + 简体中文。
默认按键绑定
| 按键 |
操作 |
| H |
切换整个 HUD |
| J |
循环切换统计面板可见性 |
| K |
切换所有 Boss 血条 |
| L |
详细伤害面板 (默认未绑定) |
| N |
会话 K/D/A 表格 |
依赖项
- Minecraft
1.21.4
- Fabric Loader
≥ 0.16.9
- Java
21+
- Fabric API
分析功能: 如需完整的服务器端统计数据,需同时在服务器和客户端安装此模组。仅客户端安装仍可在该地图上显示 HUD。
安全与兼容性
- 不修改数据包,不需要 OP,不对地图本身的存档进行任意写入;使用地图自带的
/trigger 流程。
- 在 CTT 地图上下文之外自动隐藏,以确保原版生存模式或不相关的服务器保持整洁。
致谢
- 作者: Kirin0321 (麒麟)
- 许可证: MIT
Cake Tower HUD Plus is a HUD overhaul and optional server-side combat analytics mod built for the community map Cake Team Towers · Chapter 3. It turns boss-bar text and /trigger ViewStats spam into readable bars, panels, and live team stats—without editing the map or needing OP.
Map-specific: designed for Cake Team Towers Chapter 3. On other worlds or servers the UI stays hidden automatically.
Features
Status & hearts
- Custom health bar with gradient and low-HP warning (flashes below ~25%).
- All four heart types (red / soul / black / blue) stacked and updated live—no wall of
ViewStats text.
- Mana, coins, lives, momentum on separate bars (bottom-right).
- Class-aware UI (e.g. vampire blood gauge, jelly dash icon) when you switch class.
Team & mobs
- Left roster: skin, name, HP bar, lives; sorted by lives; you’re always top row (gold name). Draggable; horizontal or vertical layout.
- 3D overhead HP for teammates (see through walls).
- 3D overhead HP for every boss-bar mob; closest target gets a yellow ▶ marker; enraged/elite suffixes preserved; mob name colors match the map.
Stats & boss bars
- Long ViewStats output becomes a two-column panel with tooltips preserved. Modes: always on / only when inventory open / hidden.
- Independent toggles for self / party / mob boss bars—compatible with other boss-bar mods (still test your pack).
- Automation: periodic
ViewStats, refresh on damage/big heals; “Your Stats:” spam swallowed; optional auto TogglePartyBossbar with circuit breaker to avoid rate-limit kicks.
Combat analytics (v6+)
Install on the server (integrated singleplayer counts too). Tested on normal dedicated servers.
- 9 damage types tracked per player with attribution (Melee / Bullet / Force / Fire / Water / Ice / Dark / Light / Electric)—handles teammates, summons, and DoT-style carryover sensibly.
- Kills / assists / damage taken; optional chat broadcasts (configurable).
- Live lines on the team panel: damage, taken, kills, assists, rolling 5s DPS; modes: off / current stage / session / both.
- Auto-save: up to 20 past sessions on disk; periodic + stage transitions + shutdown.
- L (bind in controls): detailed damage panel (experimental, unbound by default).
- N: full-session K/D/A table.
Config & localization
- ModMenu (optional but recommended): main HUD screen + Server config sub-screen.
- All major HUD panels draggable.
- English + 简体中文.
Default keybinds
| Key |
Action |
| H |
Toggle entire HUD |
| J |
Cycle stats panel visibility |
| K |
Toggle all boss bars |
| L |
Detailed damage panel (unbound by default) |
| N |
Session K/D/A table |
Requirements
- Minecraft
1.21.4
- Fabric Loader
≥ 0.16.9
- Java
21+
- Fabric API
Analytics: for full server-side stats, install this mod on the server as well as the client. Client-only still gives the HUD on the map.
Safety & compatibility
- No datapack edits, no OP, no arbitrary save writes for the map itself; uses the map’s own
/trigger flow.
- Auto-hides outside the CTT map context so vanilla survival / unrelated servers stay clean.
Credits
- Author: Kirin0321 (麒麟)
- License: MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧