{
	"display": {
		"icon": {
			"id": "minecraft:stripped_jungle_log"
		},
		"title": {"translate":"Stripper"},
		"announce_to_chat": true,
		"description": {"color":"#75E1FF","translate":"Strip the bark off every type of log, stem, and bamboo block"},
		"frame": "goal"
	},
	"parent": "blazeandcave:building/yay_i_got_my_wood",
	"rewards": {
		"function": "bacap_rewards:building/stripper"
	},		
	"criteria": {
		"stripped_oak_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_oak_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_spruce_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_spruce_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_birch_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_birch_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_jungle_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_jungle_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_acacia_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_acacia_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_dark_oak_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_dark_oak_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_mangrove_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_mangrove_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_bamboo_block": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_bamboo_block"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_cherry_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_cherry_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_crimson_stem": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_crimson_stem"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_warped_stem": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_warped_stem"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		},
		"stripped_pale_oak_log": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:stripped_pale_oak_log"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#blazeandcave:axes"
						}
					}
				]
			}
		}
	}		
}