{
  "parent": "mot_structures:root",
  "criteria": {
    "use_chart": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "player": {
          "minecraft:type_specific/player": {
            "advancements": {
              "mot_structures:using_chart": true
            }
          }
        },
        "item": {
          "components": {
            "minecraft:custom_model_data": {
              "floats": [],
              "strings": [
                "mot:chart"
              ]
            }
          }
        }
      }
    }
  },
  "rewards": {
    "function": "mot_structures:chart_unfold"
  }
}