猎杀指南针
一款高性能、服务端驱动的 Fabric 模组,专为 Minecraft 1.21.8 设计,为 Manhunt 小游戏引入了动态玩家追踪指南针机制。该模组以高效性和原版同步一致性为核心设计理念,完全基于现代组件系统在服务端运行。
⚡ 特性
-
动态目标系统: 右键点击指南针会按字母顺序循环切换所有活跃且在线的玩家(排除你自己)。
-
智能操作栏同步: 在你的操作栏上实时动态显示关于目标名称、所在世界状态以及精确方块距离的更新信息。
-
自动手持处理: 追踪算法会自动识别并更新指南针,无论其是在主手还是副手中持有。
-
物品栏生命周期控制: * 玩家在重生时会自动获得一个新的追踪指南针。
-
玩家死亡时,物品栏中的指南针会被立即移除,防止意外掉落或复制。
-
细粒度性能配置: 内置 JSON 配置管理器,允许你自定义指南针显示名称、选择 ACTION_BAR 或 CHAT 日志输出、切换方块距离计算功能,并调整刻间隔率以最小化服务器开销。
?️ 命令与权限
该模组在 /pusula 字面量下提供了清晰且本地化的命令,并为国际设置提供了内部别名。
| 命令 |
权限级别 |
描述 |
/pusula |
任何人 |
给执行命令的玩家发放一个新的追踪指南针。 |
/compass |
任何人 |
/pusula 的别名。 |
/target |
任何人 |
/pusula 的别名。 |
/pusula reload |
OP (等级 2) |
直接从磁盘重新加载 JSON 配置文件,并立即重置内部计时器。 |
⚙️ 配置文件
配置文件自动生成于 .minecraft/config/manhunt-compass.json。
{
"compassName": "§6Manhunt Pusula",
"messageType": "ACTION_BAR",
"blockReach": true,
"updateInterval": 20
}
compassName: 支持原版格式化颜色代码的自定义字符串。
messageType: 选择 ACTION_BAR 或 CHAT 输出方式。
blockReach: 切换是否向追踪者广播精确的方块距离计算结果。
updateInterval: 更新的频率,单位为服务器刻(例如,20 刻 = 1 秒)。
Manhunt Compass
A high-performance, server-driven Fabric mod designed for Minecraft 1.21.8 that introduces a dynamic player-tracking compass mechanism for Manhunt minigames. Built with efficiency and vanilla-parity synchronization in mind, it operates fully on the server side using the modern component system.
⚡ Features
-
Dynamic Targeting System: Right-clicking the compass cycles through all active, online players in alphabetical order (excluding yourself).
-
Smart Action Bar Sync: Displays real-time updates regarding your target's name, active world status, and exact block distance dynamically on your action bar.
-
Automatic Hand Handling: The tracking algorithms automatically recognize and update the compass whether it is held in your main hand or off-hand.
-
Inventory Lifecycle Control: * Players automatically receive a fresh tracking compass upon respawning.
-
Compasses are immediately stripped from the inventory on death preventing unintended drops or duplication.
-
Granular Performance Configuration: Built-in JSON config manager allowing you to customize the compass display name, choose between ACTION_BAR or CHAT logs, toggle block-reach calculations, and tune the tick interval rate to minimize server overhead.
?️ Commands & Permissions
The mod exposes clean, localized commands under the /pusula literal with internal aliases for international setups.
| Command |
Permission Level |
Description |
/pusula |
Anyone |
Gives a new tracking compass to the executing player. |
/compass |
Anyone |
Alias for /pusula. |
/target |
Anyone |
Alias for /pusula. |
/pusula reload |
OP (Level 2) |
Reloads the JSON config files directly from the disk and resets internal tick timers instantly. |
⚙️ Configuration File
The configuration file is automatically generated at .minecraft/config/manhunt-compass.json.
{
"compassName": "§6Manhunt Pusula",
"messageType": "ACTION_BAR",
"blockReach": true,
"updateInterval": 20
}
compassName: Custom string supporting vanilla formatting color codes.
messageType: Choose between ACTION_BAR or CHAT outputs.
blockReach: Toggle whether the exact block distance calculation is broadcasted to trackers.
updateInterval: The frequency of updates in server ticks (e.g., 20 ticks = 1 second).
评论 0
登录后参与评分
还没有评论,来抢沙发吧