ModsFinder

Command Extractor

by IoeCmcomc

Command Extractor, a Utility mod by IoeCmcomc, writes the game's available commands to a JSON file that datapack tools can read.

FabricForgeNeoForgeQuiltClient and serverMIT LicenseOpen source1.19.2 – 1.21.9

What it does

Running the cmdextr command in game exports the list of available commands to a commands.json file. The export covers both vanilla and modded commands, and the cmdextr command is included in its own output unless it is excluded. The file defines the structures and arguments of each command, so a tool can check what a command accepts.

Datapack developers and programmers can use the exported file as a working environment for modded user-defined commands. Several command-related tools, such as MCDatapacker and the Spyglass Beet's mecha, can read a user-defined commands.json file and become aware of custom commands once they use the file exported by Command Extractor.

The mod needs Architectury API, Fabric API and Quilted Fabric API (QFAPI) / Quilt Standard Libraries (QSL) as required dependencies, depending on the loader. Command Extractor runs on client and server, so the server and every player need it. Builds are published for Fabric, Forge, NeoForge and Quilt across 13 release versions, 1.19.2 – 1.21.9, and the code is under the MIT License, so it is open source.

Key features

  1. Command export

    The cmdextr command writes every available command, vanilla and modded, into a single JSON output file.

  2. Argument structure

    The output records the structure and arguments of each command, which tools need to validate datapack code.

  3. Custom command support

    Tools can load the exported file as a user-defined commands.json, so custom commands from other mods are recognized.

  4. Datapack development

    The export gives datapack authors a shared reference for writing commands against the running game.

Compatibility

Latest build for each game version and loader.

1.21.x9 of 9 versions with builds
1.21.91.1.1Not availableNot availableNot available
1.21.81.1.1Not availableNot availableNot available
1.21.71.1.1Not availableNot availableNot available
1.21.61.1.1Not availableNot availableNot available
1.21.51.1.1Not availableNot availableNot available
1.21.41.1.1Not availableNot availableNot available
1.21.31.1.1Not availableNot availableNot available
1.21.21.1.1Not availableNot availableNot available
1.21.11.1.1Not available1.1.1Not available
1.20.x2 of 2 versions with builds
1.20.41.1.11.1.1Not available1.1.1
1.20.11.1.11.1.1Not available1.1.1
1.19.x2 of 2 versions with builds
1.19.41.1.01.1.0Not available1.1.0
1.19.21.1.01.1.0Not available1.1.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Architectury APIAn intermediary api aimed to ease developing multiplatform mods.
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

Resource Extractor is a client-side only Fabric mod for 1.16.5 under the MIT License, so it only extracts data on a player's client. BedrockLocate is server required with client optional, open source under the MIT License and published for Fabric, Forge and NeoForge across 1.20.1 – 1.21.11, which makes it a server-side tool. Command Extractor sits between them, as a client and server mod that needs both sides to run it.

ModLoadersGame versionsEnvironmentUpdated
Command ExtractorFabric, Forge, NeoForge and Quilt1.19.2 – 1.21.9Client and server2025-04-16
Resource ExtractorFabric1.16.5Client-side only2021-04-08
BedrockLocateFabric, Forge and NeoForge1.20.1 – 1.21.11Server required, client optional2026-08-14

Questions

Does Command Extractor need Architectury API?

Yes. Architectury API is a required dependency, and it must be installed alongside Command Extractor on every loader.

Which loaders have Command Extractor files?

Fabric, Forge, NeoForge and Quilt all have files. The latest Fabric file is 1.1.1 for 1.21.9, and the latest NeoForge file is 1.1.1 for 1.21.1.

Do the exported commands include modded commands?

Yes. The output file contains both vanilla and modded commands, so custom commands from other mods appear in it.

In the catalog

Command Extractor is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,427 mods support Minecraft 1.21.9.

Similar mods

What the author says

This mod is useful if you are a Minecraft datapack developer/programmer working in an environment with modded or user-defined commands. Several Minecraft datapack and command-related tools, such as MCDatapacker (I made it), Spyglass and Beet's mecha, accept a user-defined commands.json file. That JSON file defines…
IoeCmcomc, on the Modrinth page

Official listing

Owner
IoeCmcomc
Published
2023-09-25
Updated on Modrinth
2025-04-16
Facts verified
2026-10-15

Tags