CraftByCommand: Command-Based Recipe Crafting for Minecraft

CraftByCommand lets you craft items with simple commands and build fully customizable recipes for Minecraft. Download it and start crafting smarter today.

CraftByCommand

Most Minecraft mods add new machines, new ores, or new dimensions. CraftByCommand takes a different route: it turns the humble slash command into a complete crafting system. Instead of memorizing a grid layout, you type a command, pick a recipe from the suggestions, and the result lands in your inventory. For server owners, the add-on becomes a powerful rulebook that defines exactly what can be crafted and how.

What CraftByCommand Actually Does

At its core, CraftByCommand is a recipe engine driven by commands and JSON files. Players interact with it through a handful of shortcuts. Typing /craft or /c opens the crafting flow, and the recipe ID is suggested as you type. Curious about what a recipe consumes? Run /seeRecipe, /resourcesFor, or the short /sr followed by the recipe ID, and the add-on lists the required ingredients. No external wiki tab needed.

Because recipes are stored as simple JSON definitions, the system is far more flexible than a standard crafting table. A recipe can ignore item data, respect it, or forbid specific components entirely. That means a milk bucket can become an empty bucket, a named custom item can be produced with colored text, and a fishing rod with a particular data tag can be excluded from a recipe so players cannot chain powerful items into even more powerful ones.

Supported Versions and Loaders

CraftByCommand is built for modern Minecraft, targeting recent releases with a Fabric-focused distribution. Before you grab a build, check that your game version matches the file you are downloading, since recipe component syntax has shifted across recent updates. Server admins running a mixed modpack should confirm loader compatibility first, then test a single recipe in a staging world before rolling it out to players.

Installing on a Client or Server

Learning how to install CraftByCommand is straightforward. Place the mod file in your mods folder alongside Fabric Loader and Fabric API, then launch the game once to generate the configuration directory. On a server, do the same in the server's mods folder and restart. If you prefer a frictionless setup, the foxygame.net launcher bundles CraftByCommand into a one-click install flow, so the correct loader and dependencies are matched automatically without manual file juggling.

Writing Your First Custom Recipe

Server owners will spend most of their time in the recipe files. Each entry needs three things: a unique ID, a result, and a list of ingredients. The result can carry components, which is how you attach custom names, colors, and other item data. Ingredients can use a match block with required or forbidden conditions to control precisely which items qualify.

  • id — a namespaced identifier such as normal:milk_bucket.
  • result — the output item, its count, and optional components.
  • ingredients — what the player must supply, with optional match rules.
  • custom: prefix — hands the ID off to registered executors for modded results.

A practical tip: keep IDs short and readable, and avoid using two colons in a single identifier. Duplicate IDs cause unpredictable behavior, so prefix custom entries with your mod or server name, like custom:mymod_myitem.

For Developers: The Custom Executor System

The custom: flag is where CraftByCommand becomes a framework. When the mod encounters a result ID beginning with that prefix, it strips the prefix and passes the remainder to every registered executor. You register one by supplying a mod ID and a function that receives the result container, the crafting player, and returns an ItemStack. If your executor does not recognize the ID, return null so the next handler in the chain gets a chance.

The result container exposes both the ID and any extra data you defined, giving you room for parameterized outputs without writing new recipe types. This design keeps the add-on lightweight while letting mod authors hook in their own item logic.

Final Thoughts

CraftByCommand for Minecraft fills a niche that few add-ons address: command-driven crafting with real depth under the hood. Casual players get instant, suggestion-powered recipes; admins get granular control over ingredients; developers get an extensible executor API. If you want to download CraftByCommand, verify your game version, drop it into your mods folder, and start with one simple recipe before scaling up to a full custom economy.