Back to mods
Command Extractor project artwork

Modrinth · Minecraft mod

Command Extractor

Extract available in-game commands to a JSON file

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Command Extractor release matches 1.21.2 Fabric?

Updated 1 year ago
Best match for your filters 1.1.1
Game version 1.21.1, 1.21.2, 1.21.3
Loader Fabric

Command Extractor 1.1.1 targets 1.21.1, 1.21.2, 1.21.3 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. 2 required mods need a matching file.

Where it goes

Is Command Extractor required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Command Extractor 1.1.1 need?

1.1.1 on 1.21.2 Fabric. Every mod below is checked against that same setup.

2 required mods need a matching file

Install Fabric API, Architectury API first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by Command Extractor 1.1.1
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Command Extractor without breaking your instance.

Built for Command Extractor 1.1.1 on 1.21.2 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.1. It targets 1.21.1, 1.21.2, 1.21.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, Architectury API first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.

About this project

What does Command Extractor add?

command_extractor

Command Extractor is a Minecraft mod that extracts available in-game commands to a JSON file, using the same mechanism as the Minecraft built-in data generator.

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 structures and arguments of various Minecraft commands. You can utilize the file exported by Command Extractor to make these tools aware of these custom commands.

This mod requires Architectury API mod to be installed.

Command Extractor currently supports Minecraft 1.20.1, 1.20.4 and 1.21.1, tested on Forge, NeoForge*, Quilt*, and Fabric. Use older versions of the mod for Minecraft 1.19.2 and 1.19.4. Starting from Minecraft 1.21.1, the mod is only available on Fabric and NeoForge. Note that sometimes a version of the mod may work on other patch versions of Minecraft, but I don't test all combinations. For example, the mod version for Fabric 1.21.1 also runs on Fabric 1.21.5.

Usage

Run /cmdextr command inside the game to extract commands.

The extracted JSON command tree file will be saved into extracted/commands.json in the game folder.

By default, the cmdextr command itself is not included in the output file unless /cmdextr all is used. Nevertheless, the output file contains both vanilla and non-vanilla commands.

Mods incompatibilities

Since the mod uses the built-in logic to export data, it can't gracefully ignore problematic commands. Therefore, this mod may not play well with some other mods.

In my tests, the following mods don't work with Command Extractor:

  • Spartan Weaponry (SpartanWeaponry-1.20.1-forge-3.1.3-all.jar)

Project description from Modrinth.

Pick your setup

Command Extractor by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

22 available setups

Showing the newest 12 of 13 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Command Extractor versions and loaders

1 of 16 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.