{
	"format_version": "1.20.80",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:frog_boss_totem_player",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"ac.health": "controller.animation.frog_boss_totem_player.health"
			},
			"scripts": {
				"animate": [
					"ac.health"
				]
			}
		},
		"component_groups": {
			"shapescape_mb:full_health": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"shapescape_mb:damage_1": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"shapescape_mb:damage_2": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"shapescape_mb:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:health": {
				"value": 50,
				"max": 50
			},
			"minecraft:is_tamed": {},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"target": "self",
							"event": "shapescape_mb:drop_self"
						},
						"swing": true
					}
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					},
					{
						"cause": "entity_attack",
						"deals_damage": false,
						"on_damage": {
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "player"
							},
							"target": "self",
							"event": "shapescape_mb:drop_self"
						}
					}
				]
			},
			"minecraft:type_family": {
				"family": [
					"shapescape_mb_frog_boss_totem_player",
					"player"
				]
			},
			"minecraft:physics": {
				"has_gravity": true
			},
			"minecraft:collision_box": {
				"width": 0.7,
				"height": 1.4
			},
			"minecraft:push_through": {
				"value": 1
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": true
			},
			"minecraft:knockback_resistance": {
				"value": 1
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:full_health"
					]
				}
			},
			"shapescape_mb:full_health": {
				"add": {
					"component_groups": [
						"shapescape_mb:full_health"
					]
				}
			},
			"shapescape_mb:damage_1": {
				"add": {
					"component_groups": [
						"shapescape_mb:damage_1"
					]
				}
			},
			"shapescape_mb:damage_2": {
				"add": {
					"component_groups": [
						"shapescape_mb:damage_2"
					]
				}
			},
			"shapescape_mb:drop_self": {
				"queue_command": {
					"command": [
						"scriptevent shapescape_mb:frog_boss_totem_desconstruct"
					]
				}
			},
			"shapescape_mb:despawn": {
				"add": {
					"component_groups": [
						"shapescape_mb:despawn"
					]
				}
			}
		}
	}
}