Entity ID Monitor (eidmon)
一个 Fabric 模组,提供对 Minecraft 内部实体 ID 计数器的实时可视化。显示当前计数器值、实体生成速率以及计数器距离可配置阈值的程度——为需要直接与计数器交互的玩家提供可选的自动化和调试工具。
概述
Minecraft 中生成的每个实体都会使一个全局整数 Entity.CURRENT_ID 递增。对于大多数玩家来说,这个数字是不可见且不相关的。但对于任何调查实体行为、分析高密度刷怪农场或进行底层实体研究的人来说,这才是最重要的数字——而原版游戏没有提供任何“简单”的方式来查看它。
eidmon 使其可见。
HUD
一个持久的屏幕显示,展示:
- Counter(计数器) — 实体 ID 计数器的当前值
- Remaining(剩余量) — 达到你配置的阈值之前还能生成的实体数量
- Rate(速率) — 每秒生成的实体数(基于真实时间,不受
/tick rate 影响)
- ETA(预计到达时间) — 在当前速率下达到阈值所需的估计时间
- Mode(模式) —
[SERVER] 或 [SINGLEPLAYER]
- Armed status(触发状态) —
[ARMED] 或 [DISARMED]
当计数器接近阈值时颜色会发生变化:
- White(白色) — 正常
- Yellow (pulsing)(黄色,闪烁) — 处于警报距离内(默认:剩余 1,000,000)
- Red(红色) — 处于警告距离内(默认:剩余 10,000),并在屏幕中心显示警告
按 F9 切换(可重新绑定)。
命令
| 命令 |
描述 |
/eidmon status |
显示计数器、速率、ETA、触发状态和同步模式 |
/eidmon hud [on|off] |
切换 HUD 覆盖层 |
/eidmon threshold <value> |
设置触发器触发的实体 ID 值 |
/eidmon enable / disable |
启用或禁用自动触发 |
/eidmon entities list [type] |
按 ID 列出已加载的实体,可按类型筛选 |
/eidmon debug |
切换针对每个玩家的服务器端实体创建日志记录到聊天窗口 |
/eidmon setcounter <value> |
直接设置实体 ID 计数器 — 请参阅警告 |
/eidmon collide |
设置计数器,使下一个生成的实体与你准星处的实体发生冲突 — 请参阅警告 |
自动触发
当处于武装状态时,一旦计数器达到配置的阈值,模组会在玩家准星位置执行右键点击操作。触发是可选的,即使不启用武装状态,模组也能完全正常运行。
/eidmon threshold <value> — 设置目标值
- 将准星对准需要点击的对象(例如拉杆)
/eidmon enable — 武装
- 当计数器达到阈值时,模组会执行点击操作
进入警报范围和触发器点火时会播放声音。
服务器同步
当在客户端和服务器上同时安装时,模组会每秒从服务器同步真实的 Entity.CURRENT_ID 值到所有连接的客户端——因此你看到的计数器值是精确的,而非估算值。
如果服务器未安装该模组,客户端将回退到根据观察到的最高实体 ID 来估算计数器。监控功能仍然有效,但 setcounter、collide 和 debug 不可用。
配置
可通过 Mod Menu(需要 Cloth Config)或在 config/eidmon.json 中进行配置:
| 设置项 |
默认值 |
描述 |
| Enabled |
true |
总开关 |
| Show HUD |
true |
HUD 覆盖层 |
| Threshold |
0 |
自动触发器触发的实体 ID 值 |
| Alert Distance |
1,000,000 |
在此距离处 HUD 变为黄色并播放声音 |
| Warning Distance |
10,000 |
在此距离处出现屏幕中心警告 |
安装
- Client + Server(推荐):在两端安装以获得精确的计数器值和完整的命令支持。
- 仅客户端:在单人游戏中可用。在没有模组的专用服务器上,计数器是根据观察到的实体 ID 估算的——监控功能可用,但
setcounter、collide 和 debug 被禁用。
需要 Fabric API。可选支持 Cloth Config 和 Mod Menu 用于设置界面。
高级命令 — 后果自负
/eidmon setcounter 和 /eidmon collide 直接操纵服务器的内部实体 ID 计数器。它们在服务器上需要 OP 权限,旨在用于测试和研究实体 ID 抑制技术。
如果你不知道什么是实体 ID 抑制,或者不清楚这些命令的预期效果,那么这个模组可能不适合你。 监控和 HUD 功能是完全安全的——只有 setcounter 和 collide 存在风险。
误用可能导致:
- 导致服务器崩溃的实体 ID 冲突
- 保存在区块中的损坏实体数据
- 变得无法卸载或无法恢复的世界
实验前请始终备份你的世界。 没有撤销选项。
关于自动触发
启用/禁用自动触发是为了让生存模式的玩法保持机械上的原版特性。使用该功能模组无需触碰服务器内部机制——它只是监视计数器并在阈值处模拟右键点击,这与玩家手动计时执行的操作相同。setcounter 和 collide 是用于测试和研究的备用方案,而非主要路径。
延伸阅读
什么是实体 ID 抑制? 这超出了本描述的范畴。如果你想了解更多,请参阅 Mikarific 的频道——他是首先发现并展示该技术的人。
Entity ID Monitor (eidmon)
A Fabric mod that provides real-time visibility into Minecraft's internal Entity ID counter. Shows the current counter value, entity creation rate, and how far the counter is from a configurable threshold — with optional automation and debug tooling for players who need to work with the counter directly.
Overview
Every entity Minecraft spawned increments a single global integer: Entity.CURRENT_ID. For most players this number is invisible and irrelevant. For anyone investigating entity behavior, profiling spawn-heavy farms, or working on low-level entity research, it's the number that matters most — and the vanilla game gives you no "simple" way to see it.
eidmon makes it visible.
HUD
A persistent on-screen display showing:
- Counter — current value of the Entity ID counter
- Remaining — entities until the counter reaches your configured threshold
- Rate — entities created per second (wall-clock, unaffected by
/tick rate)
- ETA — estimated time until threshold at current rate
- Mode —
[SERVER] or [SINGLEPLAYER]
- Armed status —
[ARMED] or [DISARMED]
Color changes as the counter approaches the threshold:
- White — normal
- Yellow (pulsing) — within alert distance (default: 1,000,000 remaining)
- Red — within warning distance (default: 10,000 remaining), with a center-screen warning
Toggle with F9 (rebindable).
Commands
| Command |
Description |
/eidmon status |
Show counter, rate, ETA, armed status, and sync mode |
/eidmon hud [on|off] |
Toggle HUD overlay |
/eidmon threshold <value> |
Set the entity ID value at which the trigger fires |
/eidmon enable / disable |
Arm or disarm the auto-trigger |
/eidmon entities list [type] |
List loaded entities by ID, optionally filtered by type |
/eidmon debug |
Toggle per-player logging of every server-side entity creation to chat |
/eidmon setcounter <value> |
Directly set the Entity ID counter — see warning |
/eidmon collide |
Set the counter so the next entity creation collides with the entity in your crosshair — see warning |
Auto-Trigger
When armed, the mod performs a right-click at the player's crosshair the moment the counter reaches the configured threshold. The trigger is opt-in and the mod operates fully without ever arming it.
/eidmon threshold <value> — set the target
- Aim your crosshair at whatever should be clicked (e.g. a lever)
/eidmon enable — arm
- The mod fires the click when the counter hits the threshold
A sound plays when entering alert range and when the trigger fires.
Server Sync
When installed on both client and server, the mod syncs the real Entity.CURRENT_ID value from the server to all connected clients each tick — so the counter you see is exact, not estimated.
If the server doesn't have the mod, the client falls back to estimating the counter from the highest entity ID it has observed. Monitoring still works, but setcounter, collide, and debug are unavailable.
Configuration
Available via Mod Menu (requires Cloth Config) or in config/eidmon.json:
| Setting |
Default |
Description |
| Enabled |
true |
Master on/off |
| Show HUD |
true |
HUD overlay |
| Threshold |
0 |
Entity ID value at which the auto-trigger fires |
| Alert Distance |
1,000,000 |
HUD turns yellow and plays a sound at this distance from threshold |
| Warning Distance |
10,000 |
Center-screen warning appears at this distance from threshold |
Installation
- Client + Server (recommended): install on both for exact counter values and full command support.
- Client only: works in singleplayer. On a dedicated server without the mod, the counter is estimated from observed entity IDs — monitoring works, but
setcounter, collide, and debug are disabled.
Requires Fabric API. Optionally supports Cloth Config and Mod Menu for the settings screen.
Advanced Commands — Use At Your Own Risk
/eidmon setcounter and /eidmon collide directly manipulate the server's internal Entity ID counter. They require OP on servers and exist for testing and research into Entity ID Suppression.
If you don't know what Entity ID Suppression is, or what to expect from these commands, this mod is probably not for you. The monitoring and HUD features are completely safe — only setcounter and collide carry risk.
Misuse can cause:
- Entity ID collisions that crash the server
- Corrupted entity data that persists in saved chunks
- Worlds that become unloadable or irrecoverable
Always back up your world before experimenting. There is no undo.
On the Auto-Trigger
The arm/disarm auto-trigger exists to keep survival play mechanically vanilla. The mod never needs to touch server internals to use it — it simply watches the counter and simulates a right-click at the threshold, the same action a player would otherwise time by hand. setcounter and collide remain the escape hatch for testing and research, not the primary path.
Further Reading
What is Entity ID Suppression? That is out of scope for this description. If you wish to learn more, see Mikarific's channel — the person who first discovered and showcased it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧