{
  "criteria": {
    "use_brush": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "item": {
          "items": "minecraft:poisonous_potato",
          "components": {
            "custom_data": {
              "IsScribeBook": true
            }
          }
        }
      }
    }
  },
  "requirements": [
    [
      "use_brush"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/misc/scribe_book/scribe_book_use"
  }
}