Version specific implementations of the HeadlessMc runtime.
Mc-Runtime-Test | HMC | HMC-Specifics | HMC-Optimizations
Version specific implementations of the HeadlessMc runtime. Just place the
jar for your version in your mods folder. Then you need to find a way to send commands to your running Minecraft game.
The easiest way is probably to just launch it with HeadlessMc. The -commands flag is not required for HeadlessMc in
that case.
| Name | Description | Args/Flags |
|---|---|---|
| gui | Lists all currently displayed gui elements. | |
| click | Clicks an element on Minecrafts screen. | <id/p> <x> <y> <button> -enable |
| text | Sets the contents of a text field. | <id> <text> |
| menu | Opens the ingame menu. | |
| quit | Quits the game. | |
| render | Dumps all strings rendered by Minecrafts FontRenderer. | <time> -f -t |
| close | Closes the menu if ingame. | |
| connect | Connects you to a server. | <ip> <port> |
| disconnect | Disconnects you from a server. | |
| login | Log into a Minecraft Account | |
| msg or . | Sends a chat message. | <message> |
| / | Sends a chat command. | <command> |
You can find a good example on how to use these commands here.
The HMC-Specifics currently support the following Minecraft versions and modloaders:
| Version | Forge | Fabric | NeoForge |
|---|---|---|---|
| 1.21 - 1.21.10 | ✅ | ✅ | ✅ |
| 1.20.6 | ✅ | ✅ | ✅ |
| 1.19.4 | ✅ | ✅ | - |
| 1.18.2 | ✅ | ✅ | - |
| 1.17.1 | ✅ | ✅ | - |
| 1.16.5 | ✅ | ✅ | - |
| 1.12.2 | ✅ | - | |
| 1.8.9 | ✅ | - | |
| 1.7.10 | ✅ | - |
Versions marked with