{
  "criteria": {
    "mot_chart_bundle_fix": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "components": {
              "minecraft:custom_model_data": {
                "strings": [
                  "mot:chart"
                ]
              }
            },
            "predicates": {
              "minecraft:custom_data": {
                "mot_chart_bundle": false
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "mot_structures:chart_bundle_fix"
  }
}