{
    "criteria": {
      "requirement": {
        "trigger": "minecraft:entity_hurt_player",
        "conditions": {
          "player": [
            {
              "condition": "minecraft:any_of",
              "terms": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "slots": {
                      "weapon.mainhand": {
                        "items": "minecraft:shield",
                        "predicates": {
                          "minecraft:custom_data": "{weapon:\"mushroom_shield\"}"
                        }
                      }
                    }
                  }
                },
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "slots": {
                      "weapon.offhand": {
                        "items": "minecraft:shield",
                        "predicates": {
                          "minecraft:custom_data": "{weapon:\"mushroom_shield\"}"
                        }
                      }
                    }
                  }
                }
              ]
            }
          ],
          "damage": {
            "taken": {
              "min": 0
            },
            "blocked": true
          }
        }
      }
    },
    "rewards": {
      "function": "mt:items/weapons/mushroom_shield"
    }
  }
  