QueryInfo
关于此模组 / About this mod
这是一个允许其他程序通过 HTTP 协议从正在运行的 Minecraft 客户端获取信息的模组。
This is a mod that allows other programs to obtain information from the running Minecraft client via the HTTP protocol.
示例 / Example

你可以使用其他语言编写类似这样的小工具。
You can use other languages to write small tools like this.
配置文件 / Config
{
"enableDebug": false,
"apiHost": "127.0.0.1",
"apiPort": 25800,
"apiPortMax": 25899,
"apiAcceptQueueSize": 256
}
模组将尝试从 apiPort 开始绑定端口(用于 API 服务)。如果绑定失败,则递增 1 并继续尝试,直到达到 apiPortMax。
The mod will attempt to bind to a port starting from
apiPort(for the API service). If binding fails, it will increment by 1 and continue untilapiPortMax.
功能 / Features
目前提供的 API 可以获取客户端玩家名称、UUID 和位置,以及列出世界实体等功能。更多 API 将在后续更新中提供。详细信息请参阅 GitHub 上的 API 文档。
The currently available API provides the ability to retrieve the client player's name, UUID, and location, as well as list world entities. More APIs will be available in future updates. For more details, please refer to the API documentation on GitHub.
依赖 / Dependencies
Fabric API
QueryInfo
About this mod / 关于此MOD
This is a mod that allows other programs to obtain information from the running Minecraft client via the HTTP protocol.
这是一个允许其他程序通过HTTP协议从正在运行的Minecraft客户端获取信息的模组。
Example / 示例

You can use other languages to write small tools like this.
Config / 配置文件
{
"enableDebug": false,
"apiHost": "127.0.0.1",
"apiPort": 25800,
"apiPortMax": 25899,
"apiAcceptQueueSize": 256
}
The mod will attempt to bind to a port starting from apiPort (for the API service).
If binding fails, it will increment by 1 and continue until apiPortMax.
模组将尝试从
apiPort开始绑定端口(用于API服务),如果绑定失败则+1,直到apiPortMax
Features / 功能
The currently available API provides the ability to retrieve the client player's name, UUID, and location, as well as list world entities. More APIs will be available in future updates. For more details, please refer to the API documentation on GitHub.
目前提供的API可以获取客户端玩家名称、UUID、位置,列出世界实体等能力;更多的API会在未来更新。 具体请查看Github上的API文档。
Dependencies / 依赖
Fabric API.
下载 QueryInfo
下载 QueryInfo
下载 QueryInfo
下载 QueryInfo
下载 QueryInfo
下载 QueryInfo
下载 QueryInfo
修复:
无。
更新:
- 新增:/api/client/show_msg
- 新增:/api/client/send_msg
- 新增:/api/client/send_command
- 更新了 API 文档
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧