{
  "parent": "sanguine:technical/root",
  "criteria": {
    "inventory_skull": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": [
              "minecraft:warped_fungus_on_a_stick"
            ],
            "nbt": "{sanguine:{id:\"butcher_skull\"}}"
          }
        ]
      }
    },
    "removed_item": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{Inventory:[{tag:{sanguine:{id:\"butcher_skull\"}}}]}"
              }
            }
          },
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "nbt": "{Tags:[\"sanguine.has_butcher_skull\"]}"
            }
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "inventory_skull",
      "removed_item"
    ]
  ],
  "rewards": {
    "function": "sanguine:item/butcher_skull/unequip/main"
  }
}
