{
    "format_version": "1.16.0",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:mommy_hand_tail_back_bd",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false,
			"runtime_identifier": "minecraft:snowball",
			"scripts": {
                "animate": [
					"hand_tail_ride",
					"hand_tail_despawn2",
					"undespawn_con"
                ]
            },
            "animations": {
				"hand_tail_despawn": "animation.hand_tail_despawn",
				"hand_tail_despawn2": "animation.hand_tail_despawn2",
				"undespawn": "animation.undespawn",
				"hand_tail_ride": "controller.animation.hand_tail_ride",
				"undespawn_con": "controller.animation.undespawn_con"
			}
        },
        "component_groups": {
            "despawning": {
                "minecraft:type_family": {
                    "family": ["despawer", "despawer_despawning"
                    ]
                }
            },
			"undespawning": {
                "minecraft:timer": {
					"looping": true,
					"time": 0.3,
					"time_down_event": {
						"event":
						"minecraft:start_despawn2",
						"target": "self"
					}
				}
            }
        },
        "components": {

            "minecraft:type_family": {
                "family": ["inanimate", "mommy_hand_back"]
            },
			"minecraft:can_power_jump": {},
				"minecraft:horse.jump_strength": {
					"value": 0
				},
			"minecraft:rideable": {
				"seat_count": 2,
					"seats": [
					{
						"position": [0, -0.1, 0]
					},
					{
						"position": [0, -0.1, 0]
					}
				]
			},
			"minecraft:health": {
                "max": 100,
                "value": 100,
				"min": 1
            },
            "minecraft:collision_box": {
				"width": 0.25,
				"height": 0.35
            },

            "minecraft:physics": {},
            "minecraft:despawn": {
                "filters": {
                    "all_of": [{
                            "any_of": [{
                                    "test":
                                    "is_family",
                                    "subject": "self",
                                    "value": "despawer_despawning"
                                }
                            ]
                        }
                    ]
                }
            },
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			}
        },
        "events": {
            "minecraft:explode": {
                "add": {
                    "component_groups": [
                        "minecraft:exploding"
                    ]
                }
            },
            "minecraft:start_despawn": {
                "add": {
                    "component_groups": ["despawning"]
                }
            },
			"minecraft:start_despawn2": {
                "add": {
                    "component_groups": ["despawning"]
                },
				"run_command": {
					"command": [
						"execute as @s at @s ~~~ run event entity @e[type=bd:mommy_long_bd,c=1,tag=is_use_hand] bd:stop_hand_skill"
					],
					"target": "self"
				}
            },
			"bd:undespawning": {
                "add": {
                    "component_groups": ["undespawning"]
                }
            },
			"minecraft:entity_transformed": {
                "add": {
                    "component_groups": ["undespawning"]
                }
            },
			"minecraft:entity_spawned": {
                "add": {
                    "component_groups": ["undespawning"]
                }
            }
        }
    }
}
