SpawnerHUD 是为地牢探索者打造的简洁信息层。将准星对准任意怪物刷怪笼,屏幕左上角就会显示一小段读取信息。
显示内容
- Monster Spawner(怪物刷怪笼) — 确认你正注视着刷怪笼。
- Spawns: <mob>(生成:<生物>) — 该刷怪笼生成的生物(僵尸、骷髅、蜘蛛、洞穴蜘蛛、蠹虫、烈焰人等……),通过笼子内旋转的显示实体读取。未配置的刷怪笼会显示 (empty)。
设计初衷
原版游戏中,只能通过黑暗笼子内微小的旋转模型来识别刷怪笼生成的生物——对于外观相似的生灵(如骷髅与凋灵骷髅、蜘蛛与洞穴蜘蛛)极易误判,且在远距离或光线不足时难以看清。SpawnerHUD 将生物名称直接显示在屏幕上,让你能立即决定是禁用它、从中获取经验,还是将其破坏。
控制方式
- O — 切换读取信息的显示/隐藏。操作栏消息会确认当前状态。
实现原理
- 从客户端的怪物刷怪笼方块实体中读取所显示的生物——无需服务器命令,也不添加新方块。
- 读取信息仅在你准星位于范围内的刷怪笼上时出现,并遵循 F1(隐藏 HUD)及打开菜单时的行为。
- 跨版本兼容:生物定位完全基于字段结构/类型,所有反射调用均有保护。
兼容性
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 —— Fabric Loader 0.16+。单个 JAR 文件覆盖以上四个版本。纯客户端模组:仅需安装在客户端即可,适用于任何 Fabric 服务器,完全原版兼容。需要 Fabric API。
SpawnerHUD is a clean info layer for dungeon explorers. Point your crosshair at any monster spawner and a small readout appears in the top-left of your screen.
What it shows
- Monster Spawner — confirms you're looking at a spawner.
- Spawns: <mob> — the mob the spawner produces (Zombie, Skeleton, Spider, Cave Spider, Silverfish, Blaze…), read from the display entity spinning inside the cage. Shows (empty) for an unconfigured spawner.
Why
Vanilla only reveals a spawner's mob by the tiny rotating model inside the dark cage — easy to misread for similar mobs (skeleton vs. wither skeleton, spider vs. cave spider) and hard to see at distance or in low light. SpawnerHUD puts the mob's name on screen so you can decide instantly whether to disable, harvest XP from, or break a spawner.
Controls
- O — toggle the readout on/off. An action-bar message confirms the state.
How it's built
- Reads the spawner's displayed mob from the client-side monster-spawner block entity — no server commands, no new blocks.
- The readout only appears while your crosshair is on a spawner within range, and respects F1 (hide HUD) and open menus.
- Cross-version safe: the mob is located purely by field structure/type, with all reflection guarded.
Compatibility
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 — Fabric Loader 0.16+. One JAR covers all four. Pure client-side: install on your client only, works on any Fabric server, fully vanilla-compatible. Requires Fabric API.
评论 0
登录后参与评分
还没有评论,来抢沙发吧