{"id":44539,"date":"2026-06-02T05:49:17","date_gmt":"2026-06-02T02:49:17","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/"},"modified":"2026-06-02T05:49:17","modified_gmt":"2026-06-02T02:49:17","slug":"command_extractor","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/","title":{"rendered":"Command Extractor"},"content":{"rendered":"<p># command_extractor<\/p>\n<p>***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.<\/p>\n<p>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&#8217;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.<\/p>\n<p>This mod requires Architectury API mod to be installed.<\/p>\n<p>_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&#8217;t test all combinations. For example, the mod version for Fabric 1.21.1 also runs on Fabric 1.21.5.<\/p>\n<p>## Usage<\/p>\n<p>Run `\/cmdextr` command inside the game to extract commands.<\/p>\n<p>The extracted JSON command tree file will be saved into `extracted\/commands.json` in the game folder.<\/p>\n<p>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.<\/p>\n<p>## Mods incompatibilities<br \/>\nSince the mod uses the built-in logic to export data, it can&#8217;t gracefully ignore problematic commands. Therefore, this mod may not play well with some other mods.<\/p>\n<p>In my tests, the following mods don&#8217;t work with Command Extractor:<br \/>\n* Spartan Weaponry (SpartanWeaponry-1.20.1-forge-3.1.3-all.jar)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extract available in-game commands to a JSON file<\/p>\n","protected":false},"featured_media":44540,"template":"","meta":{"_minecraft_slug":"command_extractor","_minecraft_project_id":"YNDj0qRJ","_minecraft_author":"IoeCmcomc","_minecraft_license":"MIT","_minecraft_downloads":2393,"_minecraft_follows":14,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"command_extractor.zip","_minecraft_size_bytes":124507,"_minecraft_version_count":16,"_minecraft_updated_at":"2026-05-15T20:43:49.212304Z","_minecraft_date_created":"2023-09-28T20:53:00.199161Z","_minecraft_date_modified":"2025-04-16T16:31:09.888775Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/command_extractor","_minecraft_icon_attachment_id":44540,"_minecraft_imported_at":"2026-06-02T02:49:17+00:00","_minecraft_import_hash":"410097c46d95db65e070abad9bc1b2d2","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,104,158,98,92],"mod_loader":[99,100],"minecraft_version":[56,58,36,94,37,73,74,38,78,79,80,81,82],"class_list":["post-44539","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-forge","mod_category-neoforge","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-19-2","minecraft_version-1-19-4","minecraft_version-1-20-1","minecraft_version-1-20-4","minecraft_version-1-21-1","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Command Extractor - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command Extractor - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Extract available in-game commands to a JSON file\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/\",\"name\":\"Command Extractor - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png\",\"datePublished\":\"2026-06-02T02:49:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png\",\"width\":128,\"height\":128},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/command_extractor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Command Extractor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command Extractor - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/","og_locale":"en_US","og_type":"article","og_title":"Command Extractor - Minecraft","og_description":"Extract available in-game commands to a JSON file","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/","name":"Command Extractor - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png","datePublished":"2026-06-02T02:49:17+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/command_extractor-icon-34ca4954fc585ff3ea66f3ba485487b198788e1e.png","width":128,"height":128},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/command_extractor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Command Extractor"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/44539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/44540"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=44539"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=44539"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=44539"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=44539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}