{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "pixel:smash",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"double_hand"
				]
			},
			"animations": {
				"double_hand": "animation.attack.remover"
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"damage": {
				"minecraft:area_attack": {
					"damage_range": 2.5,
					"damage_per_tick": 15,
					"cause": "contact",
					"entity_filter": {
						"any_of": [
							{
								"test": "has_tag",
								"subject": "other",
								"operator": "!=",
								"value": "shamash"
							}
						]
					}
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0,
				"height": 0
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"cause": "any",
					"deals_damage": false
				}
			}
		},
		"events": {
			"remove_katana": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"damage": {
				"add": {
					"component_groups": [
						"damage"
					]
				}
			},
			"remove_damage": {
				"remove": {
					"component_groups": [
						"damage"
					]
				}
			},
			"remove_tag": {
				"run_command": {
					"command": [
						"execute as @a[tag=shamash] run tag @s remove shamash"
					]
				}
			}
		}
	}
}