{
	"display": {
		"icon": {
			"id": "minecraft:shield",
			"components": {
				"minecraft:base_color": "black"
			}
		},
		"title": {"translate":"Master Shieldsman"},
		"description": {"color":"dark_purple","translate":"Deflect an attack from every hostile monster"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:weaponry/flying_colors",
	"rewards": {
		"function": "bacap_rewards:weaponry/master_shieldsman"
	},
	"criteria": {
		"cave_spider": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "cave_spider"
					}
				}
			}
		},
		"spider": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "spider"
					}
				}
			}
		},
		"zombified_piglin": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "zombified_piglin"
					}
				}
			}
		},
		"enderman": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "enderman"
					}
				}
			}
		},
		"blaze": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "blaze"
					}
				}
			}
		},
		"creeper": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "creeper"
					}
				}
			}
		},
		"ghast": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "ghast"
					}
				}
			}
		},
		"husk": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "husk"
					}
				}
			}
		},
		"magma_cube": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "magma_cube"
					}
				}
			}
		},
		"shulker": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "shulker"
					}
				}
			}
		},
		"silverfish": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "silverfish"
					}
				}
			}
		},
		"skeleton": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "minecraft:skeleton"
					}
				}
			}
		},
		"slime": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "slime"
					}
				}
			}
		},
		"stray": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "stray"
					}
				}
			}
		},
		"vindicator": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "vindicator"
					}
				}
			}
		},
		"wither_skeleton": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "wither_skeleton"
					}
				}
			}
		},
		"zombie": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "minecraft:zombie"
					}
				}
			}
		},
		"zombie_villager": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "zombie_villager"
					}
				}
			}
		},
		"phantom": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "phantom"
					}
				}
			}
		},
		"drowned": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "drowned"
					}
				}
			}
		},
		"pillager": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "pillager"
					}
				}
			}
		},
		"ravager": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "ravager"
					}
				}
			}
		},
		"endermite": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "endermite"
					}
				}
			}
		},
		"vex": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "vex"
					}
				}
			}
		},
		"piglin": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "piglin"
					}
				}
			}
		},
		"hoglin": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "hoglin"
					}
				}
			}
		},
		"zoglin": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "zoglin"
					}
				}
			}
		},
		"piglin_brute": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "piglin_brute"
					}
				}
			}
		},
		"ender_dragon": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "ender_dragon"
					}
				}
			}
		},
		"warden": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "warden"
					}
				}
			}
		},
		"breeze": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "breeze"
					}
				}
			}
		},
		"bogged": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "bogged"
					}
				}
			}
		},
		"creaking": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "creaking"
					}
				}
			}
		},
		"zombie_nautilus": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "zombie_nautilus"
					}
				}
			}
		},
		"parched": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": true,
					"source_entity": {
						"entity_type": "parched"
					}
				}
			}
		}
	}
}
