Repository navigation
MC-CLI 1.6.0
This release adds Minecraft 26.2 and 26.3, brings Fabric 1.21.11 to the full command set, and introduces headless mode. It also includes the 1.5.0 changes, which were never published on their own.
New
- Minecraft 26.2 and 26.3 for Fabric and NeoForge, built from one shared codebase with every command on both loaders.
- Headless mode: the game runs with no visible window, never takes focus and has no Dock icon on macOS, and it keeps rendering so screenshots and every command still work.
- Enable it with
MCCLI_HEADLESS=1,-Dmccli.headless=true, orshard launch <profile> --headless(Shard 0.1.28+). - Toggle it at runtime with
mccli window hide/window show.
- Enable it with
- Fabric 1.21.11 now has the same commands as NeoForge: interact, block, entity, item, inventory, chat, resourcepack, window and world.
interact use_on_entityandinteract attack --target entityclick entities, including interaction entities such as furniture.world create --name <name> [--seed] [--game-mode]creates and joins a world directly (26.x).
Fixes
server connect --resourcepack acceptnow actually downloads and applies the server pack (NeoForge). On Fabric the option was previously ignored.server disconnectfrom a singleplayer world no longer freezes the game.world loadno longer times out.- Fabric responses use readable class names (e.g.
TitleScreen).
Downloads
| Minecraft | Fabric | NeoForge |
|---|---|---|
| 26.3 | mccli-fabric-26.3-1.6.0.jar (Loader 0.19.5+, Fabric API) |
mccli-neoforge-26.3-1.6.0.jar (26.3.0.x) |
| 26.2 | mccli-fabric-26.2-1.6.0.jar |
mccli-neoforge-26.2-1.6.0.jar |
| 1.21.11 | mccli-fabric-1.6.0.jar |
mccli-neoforge-1.6.0.jar |
| 1.21.4 | mccli-fabric-1.21.4-1.6.0.jar (core commands only, no headless) |
Minecraft 26.x needs Java 25. Install the CLI with pip install git+https://github.com/Th0rgal/mc-cli.git@v1.6.0#subdirectory=cli.
On NeoForge, set earlyWindowControl = false in config/fml.toml to stop the loading screen from flashing in headless mode. On a Linux server without a display, use a virtual display such as xvfb-run.