HP Output is a lightweight client-side Minecraft mod that sends player health-related events to external applications through local UDP messages.
It is designed for integrations such as hardware controllers, overlays, automation tools, stream utilities, custom dashboards, and other applications that need real-time access to the player's health state.
127.0.0.1.| Loader | Minecraft Version |
|---|---|
| Fabric | 1.14 – 1.21+ |
| Forge | 1.12 – 1.20.x |
Fabric Loader is only available for Minecraft 1.14 and newer. Minecraft 1.12–1.13 users should use the Forge version.
By default, HP Output sends JSON-formatted UDP packets to:
127.0.0.1:39571
Example health packet:
{
"alive": true,
"health": 18.0,
"maxHealth": 20.0,
"percentage": 0.9
}
Example damage event:
{
"alive": true,
"health": 17.0,
"maxHealth": 20.0,
"percentage": 0.85,
"damage": 3.0,
"source": "mob:Zombie"
}
This makes HP Output suitable for connecting Minecraft with external software without modifying the game server.
HP Output 是一个轻量级的 Minecraft 客户端 Mod,可将玩家的血量以及受伤、治疗和死亡等事件通过本地 UDP 实时发送给外部程序。
它适用于硬件控制器、直播工具、状态面板、自动化程序、Overlay 以及其他需要获取 Minecraft 玩家实时生命状态的应用。
127.0.0.1 发送数据。| Mod Loader | Minecraft 版本 |
|---|---|
| Fabric | 1.14 – 1.21+ |
| Forge | 1.12 – 1.20.x |
Fabric Loader 仅支持 Minecraft 1.14 及以上版本,因此 Minecraft 1.12–1.13 请使用 Forge 版本。
默认情况下,HP Output 会将 JSON 格式的 UDP 数据包发送至:
127.0.0.1:39571
血量状态示例:
{
"alive": true,
"health": 18.0,
"maxHealth": 20.0,
"percentage": 0.9
}
受伤事件示例:
{
"alive": true,
"health": 17.0,
"maxHealth": 20.0,
"percentage": 0.85,
"damage": 3.0,
"source": "mob:Zombie"
}
HP Output 可以让外部程序方便地获取 Minecraft 玩家生命状态,而无需修改或安装任何服务端组件。