{
  "criteria": {
    "minecraft:cave_spider": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:cave_spider"
          },
          "type": {
            "is_fire": false,
            "is_magic": false
          }
        }
      }
    },
    "minecraft:spider": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:spider"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
	"minecraft:zombified_piglin": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombified_piglin"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
	"minecraft:enderman": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:enderman"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:husk": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:husk"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:magma_cube": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:magma_cube"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:silverfish": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:silverfish"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:skeleton": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:skeleton"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:slime": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:slime"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:stray": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:stray"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:vindicator": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:vindicator"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:wither_skeleton": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:wither_skeleton"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:zombie": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombie"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:zombie_villager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:zombie_villager"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:phantom": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:phantom"
          },
          "type": {
            "is_fire": false
          }
        }
      }
    },
    "minecraft:drowned": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:drowned"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:pillager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:pillager"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": false
          }
        }
      }
    },
    "minecraft:ravager": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "type": "minecraft:ravager"
          },
          "type": {
			"is_magic": false,
            "is_projectile": false,
            "is_fire": 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"
    ]
  ]
}
