{
  "parent": "sanguine:technical/root",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "item": {
          "items": [
            "minecraft:warped_fungus_on_a_stick"
          ],
          "nbt": "{sanguine:{id:\"bone_needle\"}}"
        },
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "#sanguine:bone_needle_target"
            }
          },
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{Tags:[\"smithed.strict\"]}"
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "sanguine:item/bone_needle/use/main"
  },
  "requirements": [
    [
      "requirement"
    ]
  ]
}
