{
  "parent": "minecraft:husbandry/tame_an_animal",
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "item": {
          "items": "minecraft:name_tag",
          "components": {
            "minecraft:custom_name": "Technoblade"
          }
        },
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:pig"
            }
          }
        ]
      }
    }
  },
  "display": {
    "description": "Name a Pig \"Technoblade\"",
    "icon": {
      "id": "minecraft:name_tag"
    },
    "title": "Legends Never Die",
    "frame": "task"
  }
}