{
  "advancements": [
    {
      "conditions": [
        {
          "value": {
            "values": [
              {
                "value": {
                  "modid": "minecraft",
                  "type": "forge:mod_loaded"
                },
                "type": "forge:not"
              },
              {
                "item": "minecraft:dirt",
                "type": "forge:item_exists"
              },
              {
                "type": "forge:false"
              }
            ],
            "type": "forge:and"
          },
          "type": "forge:not"
        }
      ],
      "advancement": {
        "parent": "minecraft:recipes/root",
        "rewards": {
          "recipes": [
            "minecraft:diamond_block"
          ]
        },
        "criteria": {
          "has_dirt": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {
              "items": [
                {
                  "item": "minecraft:dirt"
                }
              ]
            }
          },
          "has_the_recipe": {
            "trigger": "minecraft:recipe_unlocked",
            "conditions": {
              "recipe": "minecraft:diamond_block"
            }
          }
        },
        "requirements": [
          [
            "has_dirt",
            "has_the_recipe"
          ]
        ]
      }
    }
  ]
}