{
  "criteria": {
    "use_brush": {
      "trigger": "minecraft:item_used_on_block",
      "conditions": {
        "player": {
            "slots": {
                "weapon.*": {
                    "items": "#overly_realistic:modifiable_mob_spawn_eggs"
                }
            }
        }
      }
    }
  },
  "requirements": [
    [
      "use_brush"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/misc/animals/use_spawn_egg"
  }
}