{
  "criteria": {
    "minecraft:cave_spider": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:cave_spider"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:spider": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:spider"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
	"minecraft:zombified_piglin": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombified_piglin"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
	"minecraft:enderman": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:enderman"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:husk": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:husk"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:magma_cube": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:magma_cube"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:silverfish": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:silverfish"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:skeleton": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "blocked": false,
          "source_entity": {
            "type": "minecraft:skeleton"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:slime": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:slime"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:stray": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:stray"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:vindicator": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:vindicator"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:wither_skeleton": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:wither_skeleton"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:zombie": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombie"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:zombie_villager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombie_villager"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:phantom": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:phantom"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:drowned": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:drowned"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:pillager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:pillager"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    },
    "minecraft:ravager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:ravager"
          },
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_fire",
                "expected": false
              },
              {
                "id": "minecraft:witch_resistant_to",
                "expected": false
              }
            ]
          }
        }
      }
    }
  },
  "rewards": {
    "function": "zzzzdonotuse:advancements/meleedamagetaken"
  },
  "requirements": [
    [
      "minecraft:cave_spider",
      "minecraft:spider",
      "minecraft:zombified_piglin",
      "minecraft:enderman",
      "minecraft:husk",
      "minecraft:magma_cube",
      "minecraft:silverfish",
      "minecraft:skeleton",
      "minecraft:slime",
      "minecraft:stray",
      "minecraft:vindicator",
      "minecraft:wither_skeleton",
      "minecraft:zombie",
      "minecraft:zombie_villager",
      "minecraft:phantom",
      "minecraft:drowned",
      "minecraft:pillager",
      "minecraft:ravager"
    ]
  ]
}
