{
    "criteria": {
      "requirement": {
        "trigger": "minecraft:item_used_on_block",
        "conditions": {
          "location": [
            {
              "condition": "minecraft:location_check",
              "predicate": {
                "block": {
                  "blocks": [
                    "minecraft:bedrock"
                  ]
                }
              }
            },
            {
              "condition": "minecraft:match_tool",
              "predicate": {
                "items": [
                  "minecraft:end_crystal"
                ]
              }
            }
          ]
        }
      }
    },
    "rewards": {
      "function": "true_ending:respawning/place_end_crystal"
    }
  }
  