NEWUse coupon code SMX20 to get 20% OFF your first billing cycle on any game server or VPS!Explore Store

Recipe Generator

Build shaped and shapeless crafting recipes as datapack JSON.

Recipe

Crafting grid (item ids)

Datapack JSON

data/<namespace>/recipe/diamond_sword.json
{
  "type": "minecraft:crafting_shaped",
  "category": "equipment",
  "key": {
    "A": "minecraft:diamond",
    "B": "minecraft:stick"
  },
  "pattern": [
    "AA",
    "AB",
    " B"
  ],
  "result": {
    "id": "minecraft:diamond_sword"
  }
}

Place the file in a datapack, then run /reload. Use #minecraft:planks style tags for tag ingredients.