{
	"display": {
		"icon": {
			"id": "minecraft:shears"
		},
		"title": {"translate":"Rock, Paper, Shears!"},
		"description": {"color":"green","translate":"Beat a zombie at rock, paper, shears"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:weaponry/inspector_gadget",
	"rewards": {
		"function": "bacap_rewards:weaponry/rock_paper_shears"
	},		
	"criteria": {
		"paper_beats_rock": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "minecraft:zombie",
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:cobblestone"
							]
						}
					}
				},
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:paper"
							]
						}
					}
				}
			}
		},
		"rock_beats_shears": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "minecraft:zombie",
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:shears"
							]
						}
					}
				},
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},			
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:cobblestone"
							]
						}
					}
				}
			}
		},
		"shears_beats_paper": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "minecraft:zombie",
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:paper"
							]
						}
					}
				},
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},			
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:shears"
							]
						}
					}
				}
			}
		}
	},
	"requirements": [
		[
			"paper_beats_rock",
			"rock_beats_shears",
			"shears_beats_paper"
		]
	]
}
