{
    "criteria": {
      "requirement": {
        "trigger": "minecraft:using_item",
        "conditions": {
          "player": [
            {
              "condition": "minecraft:entity_scores",
              "entity": "this",
              "scores": {
                "mt.toxic_machette": {
                  "min": 20
                }
              }
            }
          ],
          "item": {
            "predicates": {
              "minecraft:custom_data": "{weapon:\"toxic_machette\"}"
            }
          }
        }
      }
    },
    "rewards": {
      "function": "mt:mechanics/toxic_machette/rc"
    }
  }
  