//bridge-file-version: #2
{
	"format_version": "1.17.0",
	"minecraft:item": {
		"description": {
			"identifier": "strat:lumberaxe_112",
			"category": "equipment"
		},
		"components": {
			"minecraft:max_stack_size": 1,
			"minecraft:hand_equipped": true,
			"minecraft:damage": 7,
			"minecraft:durability": {
				"max_durability": 494,
				"damage_chance": {
					"min": 1,
					"max": 1
				}
			},
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "hurt_2"
				},
				"on_hit_block": {
					"event": "hurt"
				}
			},
			"minecraft:creative_category": {
				"parent": "itemGroup.name.axe"
			},
			"minecraft:icon": {
				"texture": "lumberaxe_112"
			},
			"minecraft:digger": {
				"use_efficiency": true,
				"destroy_speeds": [
					{
						"block": {
							"tags": "q.any_tag('wood')"
						},
						"speed": 2,
						"use_efficiency": true,
						"on_dig": {
							"event": "break"
						}
					},
					{
						"block": "minecraft:chest",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:melon_block",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crafting_table",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:bookshelf",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:pumpkin",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:loom",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:cartography_table",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:trapped_chest",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:campfire",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:soul_campfire",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:beehive",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:bee_nest",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:jukebox",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:noteblock",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:composter",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_stem",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_hyphae",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:stripped_crimson_stem",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:stripped_crimson_hyphae",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_stem",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_hyphae",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:stripped_warped_stem",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:stripped_warped_hyphae",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_planks",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_door",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_trapdoor",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_standing_sign",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_wall_sign",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_stairs",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_fence",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_fence_gate",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_button",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_pressure_plate",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_slab",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:crimson_double_slab",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_planks",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_door",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_trapdoor",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_standing_sign",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_wall_sign",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_stairs",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_fence",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_fence_gate",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_button",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_pressure_plate",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_slab",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					},
					{
						"block": "minecraft:warped_double_slab",
						"speed": 2,
						"on_dig": {
							"event": "break"
						},
						"use_efficiency": true
					}
				],
				"on_dig": {
					"event": "hurt"
				}
			},
			"minecraft:display_name": {
				"value": "Copper-Iron Lumberaxe"
			}
		},
		"events": {
			"hurt": {
				"damage": {
					"type": "none",
					"amount": 1,
					"target": "self"
				}
			},
			"hurt_2": {
				"damage": {
					"type": "none",
					"amount": 2,
					"target": "self"
				}
			},
			"break": {
				"sequence": [
					{
						"condition": "query.cardinal_player_facing == 0.0",
						"run_command": {
							"command": [
								"fill ~-1 ~ ~+1 ~+1 ~ ~-1 air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"condition": "query.cardinal_player_facing == 1.0",
						"run_command": {
							"command": [
								"fill ~-1 ~ ~+1 ~+1 ~ ~-1 air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"condition": "query.cardinal_player_facing == 2.0",
						"run_command": {
							"command": [
								"fill ~+1 ~-1 ~ ~-1 ~+1 ~ air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"condition": "query.cardinal_player_facing == 3.0",
						"run_command": {
							"command": [
								"fill ~-1 ~-1 ~ ~+1 ~+1 ~ air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"condition": "query.cardinal_player_facing == 4.0",
						"run_command": {
							"command": [
								"fill ~ ~-1 ~-1 ~ ~+1 ~+1 air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"condition": "query.cardinal_player_facing == 5.0",
						"run_command": {
							"command": [
								"fill ~ ~-1 ~-1 ~ ~+1 ~+1 air 0 destroy"
							],
							"target": "block"
						}
					},
					{
						"run_command": {
							"command": [
								"kill @e[name=\"cobblestone\",type=item,r=5]",
								"kill @e[name=\"stone\",type=item,r=5]",
								"kill @e[name=\"bedrock\",type=item,r=5]",
								"kill @e[name=\"obsidian\",type=item,r=5]"
							]
						}
					},
					{
						"damage": {
							"type": "none",
							"amount": 9,
							"target": "self"
						}
					}
				]
			}
		}
	}
}