{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "farmersdelight:cutting_board_entity",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"farmersdelight:kill": {
				"minecraft:transformation": {
					"drop_equipment": true,
					"into": "farmersdelight:cutting_board_entity",
					"delay": {
						"value": 0.1
					}
				}
			},
			"farmersdelight:despawn": {
				"minecraft:transformation": {
					"drop_equipment": true,
					"into": "farmersdelight:nothing",
					"delay": {
						"value": 0.1
					}
				}
			},
			"farmersdelight:variant0": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"farmersdelight:variant1": {
				"minecraft:variant": {
					"value": 1
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.7,
				"height": 0.1
			},
			"minecraft:type_family": {
				"family": [
					"item"
				]
			},
			"minecraft:movement": {
				"value": 0
			},
			"minecraft:scale": {
				"value": 0.9286
			},
			"minecraft:persistent": {},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_gravity": false,
				"has_collision": false
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false,
						"on_damage_sound_event": "dig.wood",
						"on_damage": {
							"event": "farmersdelight:hit_kill"
						}
					}
				]
			},
			"minecraft:fire_immune": true,
			"minecraft:interact": {
				"interactions": [
					{
						"give_item": true,
						"take_item": true
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "farmersdelight:diamond_knife"
							},
							"event": "farmersdelight:knife_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "farmersdelight:flint_knife"
							},
							"event": "farmersdelight:knife_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "farmersdelight:golden_knife"
							},
							"event": "farmersdelight:knife_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "farmersdelight:iron_knife"
							},
							"event": "farmersdelight:knife_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "farmersdelight:netherite_knife"
							},
							"event": "farmersdelight:knife_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:diamond_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:golden_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:iron_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:netherite_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:stone_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:wooden_axe"
							},
							"event": "farmersdelight:axe_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:shears"
							},
							"event": "farmersdelight:shears_transform"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:diamond_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:golden_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:iron_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:netherite_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:stone_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:wooden_pickaxe"
							},
							"event": "farmersdelight:pickaxe_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:diamond_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:golden_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:iron_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:netherite_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:stone_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					},
					{
						"on_interact": {
							"filters": {
								"test": "has_equipment",
								"subject": "other",
								"domain": "any",
								"operator": "equals",
								"value": "minecraft:wooden_shovel"
							},
							"event": "farmersdelight:shovel_transform",
							"target": "self"
						},
						"hurt_item": 1
					}
				]
			},
			"minecraft:inventory": {
				"inventory_size": 1,
				"private": true
			},
			"minecraft:health": {
				"value": 1
			},
			"minecraft:inside_block_notifier": {
				"block_list": [
					{
						"block": {
							"name": "farmersdelight:cutting_board"
						},
						"exited_block_event": {
							"event": "farmersdelight:despawn"
						}
					}
				]
			}
		},
		"events": {
			"farmersdelight:knife_transform": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						},
						"run_command": {
							"command": [
								"function knife_farmersdelight",
								"function knife_crabbersdelight",
								"function knife_sunflowerdelight",
								"function knife_nethersdelight",
								"function knife_brewinandchewin"
							],
							"target": "self"
						}
					}
				]
			},
			"farmersdelight:axe_transform": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						},
						"run_command": {
							"command": [
								"function axe_farmersdelight",
								"function axe_crabbersdelight",
								"function axe_sunflowerdelight",
								"function axe_nethersdelight",
								"function axe_brewinandchewin"
							],
							"target": "self"
						}
					}
				]
			},
			"farmersdelight:shears_transform": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						},
						"run_command": {
							"command": [
								"function shears_farmersdelight",
								"function shears_crabbersdelight",
								"function shears_sunflowerdelight",
								"function shears_nethersdelight",
								"function shears_brewinandchewin"
							]
						}
					}
				]
			},
			"farmersdelight:pickaxe_transform": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						},
						"run_command": {
							"command": [
								"function pickaxe_farmersdelight",
								"function pickaxe_crabbersdelight",
								"function pickaxe_sunflowerdelight",
								"function pickaxe_nethersdelight",
								"function pickaxe_brewinandchewin"
							]
						}
					}
				]
			},
			"farmersdelight:shovel_transform": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						},
						"run_command": {
							"command": [
								"function shovel_farmersdelight",
								"function shovel_crabbersdelight",
								"function shovel_sunflowerdelight",
								"function shovel_nethersdelight",
								"function shovel_brewinandchewin"
							]
						}
					}
				]
			},
			"farmersdelight:block": {
				"add": {
					"component_groups": [
						"farmersdelight:variant1"
					]
				},
				"remove": {
					"component_groups": [
						"farmersdelight:variant0"
					]
				}
			},
			"farmersdelight:item": {
				"add": {
					"component_groups": [
						"farmersdelight:variant0"
					]
				},
				"remove": {
					"component_groups": [
						"farmersdelight:variant1"
					]
				}
			},
			"sound": {
				"run_command": {
					"command": [
						"playsound dig.wood @a[r=5]"
					]
				}
			},
			"minecraft:entity_transformed": {
				"run_command": {
					"command": [
						"tp @e[type=item,r=0.5] ~ ~0.1~"
					]
				}
			},
			"farmersdelight:despawn": {
				"add": {
					"component_groups": [
						"farmersdelight:despawn"
					]
				}
			},
			"farmersdelight:hit_kill": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"farmersdelight:kill"
							]
						}
					},
					{
						"run_command": {
							"command": [
								"fill ~ ~ ~ ~ ~ ~ air destroy"
							]
						}
					}
				]
			}
		}
	}
}