Pearl Counter — mhv1
查看每位附近玩家投掷了多少末影珍珠,直接显示在世界中的名称标签旁边。Pearl Counter 会在玩家名字后添加一个小的末影珍珠图标和浅绿色的计数。
功能
- 使用服务器发送的所有者信息,统计客户端观察到的不同末影珍珠数量。
- 当同一颗珍珠重新进入追踪范围时,不会重复计数。
- 当观察到玩家死亡时,其计数器会重置。离开或切换世界时,所有计数器都会重置。
- 使用
/pearlcounter reset 命令可在本地清除所有计数器。
- 使用当前激活资源包中的原版末影珍珠纹理。
安装
需要 Minecraft Java 1.21.11、Fabric Loader 0.19.3 或更高版本以及 Java 21。将 pearl-counter-mhv1.jar 放入你配置文件的 mods 文件夹中。不需要 Fabric API 和服务端安装。 只有安装了此客户端模组的玩家才能看到计数器。
计数器能检测到的内容
这是一个客户端侧的观察计数器,而非全服统计数据。超出追踪范围的珍珠无法被计数。之前投出的珍珠首次进入范围时可能会被计数;无法确定所有者的珍珠将被跳过。在范围外发生的死亡可能不会重置计数器。比赛结束不会被自动检测。遵循正常的名称标签可见性规则;TAB 键和聊天界面保持不变。
源代码与反馈
源代码 · 报告问题
由 mihek 制作。采用 MIT 许可证。灵感来源于 TotemCounter 中的名称标签计数器想法;不包含任何 TotemCounter 的代码或素材。
Pearl Counter — mhv1
See how many ender pearls each nearby player has thrown, directly beside their in-world nametag. Pearl Counter adds a small ender pearl icon and a light-green count after the player’s name.
Features
- Counts distinct ender pearls observed by your client using the owner sent by the server.
- The same pearl is not counted again when it re-enters tracking range.
- A player’s counter resets when their death is observed. All counters reset when leaving or changing worlds.
- Use
/pearlcounter reset to clear all counters locally.
- Uses the vanilla ender pearl texture from your active resource pack.
Installation
Requires Minecraft Java 1.21.11, Fabric Loader 0.19.3 or newer, and Java 21. Put pearl-counter-mhv1.jar in your profile’s mods folder. Fabric API and server installation are not required. Only players with this client mod see the counters.
What the counter can see
This is a client-side observation counter, not a server-wide statistic. Pearls outside tracking range cannot be counted. A previously thrown pearl entering range may be counted when first seen; unresolved owners are skipped. Deaths outside range may not reset a counter. Match endings are not detected automatically. Normal nametag visibility rules apply; TAB and chat are unchanged.
Source and feedback
Source code · Report an issue
By mihek. MIT licensed. Inspired by the nametag-counter idea in TotemCounter; no TotemCounter code or assets are included.
评论 0
登录后参与评分
还没有评论,来抢沙发吧