Discover an innovative mod for Minecraft that enables users to extract data from a live Minecraft client through the HTTP protocol.
Introducing QueryInfo
Discover More on GitHub
Overview of the Mod
This mod facilitates the acquisition of information from a currently operating Minecraft client by external applications utilizing the HTTP protocol.
Use Case Demonstration
Programmers can develop small tools in various programming languages to harness this functionality.Configuration Settings
{ "enableDebug": false, "apiHost": "127.0.0.1", "apiPort": 25800, "apiPortMax": 25899, "apiAcceptQueueSize": 256 }
This mod will try to latch onto a designated port beginning at
apiPort
for its API. Should the initial binding process fail, it will increment the port number by one and proceed until it reachesapiPortMax
.Features of the Mod
The current API allows users to fetch various details such as the player’s name, UUID, and position, alongside the ability to enumerate the entities present in the world. Additional API features will be introduced in forthcoming updates. Refer to the documentation on GitHub for comprehensive information.
Required Dependencies
This mod necessitates the Fabric API.