{
    "format_version": "1.16.100",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:mommy_long_bd",
            "is_spawnable": true,
            "is_summonable": true,
            "is_experimental": false,
			"runtime_identifier": "minecraft:spider",
            "scripts": {
                "animate": [
					"mommy_chase",
					"mommy_grab_kill",
					"mommy_hunt_time",
					"mommy_cooldown",
					"mommy_grab",
					"mommy_climb_pro",
					"mommy_self_control",
					"mommy_use_hand",
					"mommy_use_hand_skill",
					"mommy_attacks",
					"mommy_fake_dead",
					{"mommy_celling_camp": "!query.is_saddled"},
					
					"mommy_duck_other"
                ]
            },
            "animations": {
				"mommy_chase": "controller.animation.mommy_chase",
				"mommy_grab_kill": "controller.animation.mommy_grab_kill",
				"mommy_grab": "controller.animation.mommy_grab",
				"mommy_climb_pro": "controller.animation.mommy_climb_pro",
				"mommy_cooldown": "controller.animation.mommy_cooldown",
				"mommy_self_control": "controller.animation.mommy_self_control",
				"mommy_hunt_time": "controller.animation.mommy_hunt_time",
				"mommy_ground_air": "controller.animation.mommy_ground_air",
				"mommy_use_hand": "controller.animation.mommy_use_hand",
				"mommy_use_hand_skill": "controller.animation.mommy_use_hand_skill",
				"mommy_attacks": "controller.animation.mommy_attacks",
				"mommy_fake_dead": "controller.animation.mommy_fake_dead",
				"mommy_celling_camp": "controller.animation.mommy_celling_camp",
				
				"eat_time": "animation.eat_time",
				"eat_cooldown_time": "animation.eat_cooldown_time",
				"mommy_calm": "animation.mommy_calm",
				"mommy_fake_dead_heal": "animation.mommy_fake_dead_heal",
				"eat_skill_back": "animation.eat_skill_back",
				"eat_time_kill2": "animation.eat_time_kill2",
				"mommy_climb": "animation.mommy_climb",
				"mommy_eat2": "animation.mommy_eat2",
				"eat_look": "animation.eat_look",
				"is_stretching": "animation.is_stretching",
				"use_hand_stretch1": "animation.use_hand_stretch1",
				"use_hand_stretch2": "animation.use_hand_stretch2",
				"mommy_time_hand_back": "animation.mommy_time_hand_back",
				
				"mommy_attack1": "animation.mommy_attack1",
				"mommy_attack2": "animation.mommy_attack2",
				"mommy_attack3": "animation.mommy_attack3",
				"mommy_attack4": "animation.mommy_attack4",
				"mommy_jump_back": "animation.mommy_jump_back",
				"mommy_jump_forward": "animation.mommy_jump_forward",
				"mommy_ram_attack": "animation.mommy_ram_attack",
				"mommy_ram_damage": "animation.mommy_ram_damage",
				
				"celling_camp1": "animation.celling_camp1",
				"celling_camp2": "animation.celling_camp2",
				"celling_camp3": "animation.celling_camp3",
				
				"mommy_duck_other": "animation.mommy_duck_other"
            }
        },
        "component_groups": {
			"melee_control": {
				"minecraft:skin_id": {
					"value": 0
				},
				"minecraft:mark_variant": {
					"value": 0
				},
				"minecraft:behavior.melee_attack": {
					"priority": 4,
					"attack_once": true,
					"reach_multiplier": 0,
					"speed_multiplier": 1.52003,
					"y_max_head_rotation": 60,
					"x_max_rotation": 60
				},
				"minecraft:target_nearby_sensor": {
					"inside_range": 3.0,
					"outside_range": 10,
					"must_see": true,
					"on_inside_range": {
						"event": "bd:use_attacks",
						"target": "self"
					},
					"on_outside_range": {
						"event": "bd:use_attacks_far",
						"target": "self"
					}
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.climb": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {},
				"minecraft:behavior.random_stroll": {
					"priority": 6,
					"interval": 40,
					"xz_dist": 60,
					"y_dist": 30,
					"speed_multiplier": 1.0
				},
				"minecraft:behavior.look_at_entity": {
					"priority": 7,
					"angle_of_view_vertical": 90,
					"look_distance": 80,
					"probability": 0.05
				},
				"minecraft:behavior.random_look_around": {
					"priority": 7
				}
			},
			"melee_control_far": {
				"minecraft:target_nearby_sensor": {
					"inside_range": 3.0,
					"outside_range": 10,
					"must_see": true,
					"on_outside_range": {
						"event": "bd:use_attacks_far",
						"target": "self"
					}
				}
			},
			"show_health": {
				"minecraft:boss": {
					"should_darken_sky": false,
					"name": "§l§dMommy Long Legs",
					"hud_range": 60
				}
			},
			"fake_dead": {
				"minecraft:behavior.play_dead": {
					"priority": 0,
					"duration": 250,
					"force_below_health": 40,
					"random_start_chance": 0.001,
					"random_damage_range": [ 0, 2 ],
					"damage_sources": [
					  "contact",
					  "entity_attack",
					  "entity_explosion",
					  "magic",
					  "projectile",
					  "thorns",
					  "wither"
					],
					"apply_regeneration": false
				}
			},
			"fake_dead_movement": {
				"minecraft:movement": {
					"value": 0.0
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"avoid_damage_blocks": true
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {},
				"minecraft:attack_cooldown": {
                    "attack_cooldown_time": [250, 250],
                    "attack_cooldown_complete_event": {
                        "event": "",
                        "target": "self"
                    }
                },
				"minecraft:is_stunned": {}
			},
			"eated": {
				"minecraft:timer": {
                    "time": 3,
                    "looping": true,
                    "time_down_event": {
                        "event": "bd:stop_eat"
                    }
                }
			},
			"time_to_eat": {
				"minecraft:timer": {
                    "time": 0.2,
                    "looping": true,
                    "time_down_event": {
                        "event": "bd:eated"
                    }
                }
			},
			"to_become_dead2": {
                "minecraft:transformation": {
                    "into": "bd:huggy_wuggy_bd<bd:to_dead>"
                },
				"minecraft:health": {
					"value": 2,
					"max": 2,
					"min": 2
				}
			},
			"to_become_dead": {
                "minecraft:transformation": {
                    "into": "bd:huggy_wuggy_bd<bd:become_dead>",
					"delay": {
						"value": 30
					}
                },
				"minecraft:health": {
					"value": 2,
					"max": 2,
					"min": 2
				},
				"minecraft:push_through": {
					"value": 1
				},
				"minecraft:type_family": {
					"family": ["inanimate", "mommy_corpse"]
				},
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"cause": "all",
							"deals_damage": false
						}
					]
				},
				"minecraft:movement": {
					"value": 0.0
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"avoid_damage_blocks": true
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {},
				"minecraft:is_saddled": {}
            },
			"become_dead": {
                "minecraft:transformation": {
                    "into": "bd:huggy_wuggy_bd_dead"
                }
            },
			"attack_tracking": {
				"minecraft:behavior.melee_attack": {
					"priority": 4,
					"attack_once": true,
					"reach_multiplier": 0,
					"speed_multiplier": 0,
					"y_max_head_rotation": 60,
					"x_max_rotation": 60
				}
			},
			"attack1": {
				"minecraft:mark_variant": {
					"value": 1
				},
				"minecraft:movement": {
					"value": 0.25
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"attack2": {
				"minecraft:mark_variant": {
					"value": 2
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"attack3": {
				"minecraft:mark_variant": {
					"value": 3
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"attack4": {
				"minecraft:mark_variant": {
					"value": 6
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"jump_back": {
				"minecraft:mark_variant": {
					"value": 4
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"jump_forward": {
				"minecraft:mark_variant": {
					"value": 7
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"ram_attack": {
				"minecraft:mark_variant": {
					"value": 5
				},
				"minecraft:movement.basic": {},
				"minecraft:navigation.walk": {
					"can_path_over_water": true,
					"can_path_over_lava": true,
					"can_walk_in_lava": true,
					"can_pass_doors": true,
					"can_open_doors": true,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"blocks_to_avoid": [
						{
							"name": "minecraft:powder_snow",
							"name": "minecraft:web"
						}
					]
				},
				"minecraft:jump.static": {},
				"minecraft:can_climb": {}
			},
			"jumpscare_vent": {
				"minecraft:is_sheared": {
				}
			},
			"jumpscare_novent": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"on_left": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"on_right": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"on_celling": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"passive_mode": {
			},
			"hunt_mode": {
				"minecraft:is_saddled": {}
			},
			"allow_jumpscare": {
				"minecraft:rideable": {
					"seat_count": 2,
					"interact_text": "action.interact.ride.bd:mommy_long_bd",
						"family_types": [
							"mommy_eat", "player"
						],
						"seats": [
						{
							"position": [0, 0.5, 1.5], 
							"rotate_rider_by": 180,
							"lock_rider_rotation": 0
						},
						{
							"position": [0, 0.5, 1.5], 
							"rotate_rider_by": 180,
							"lock_rider_rotation": 0
						}
					]
				},
				"minecraft:can_power_jump": {},
				"minecraft:horse.jump_strength": {
					"value": 0
				}
			},
			"use_hand_skill": {
                "minecraft:skin_id": {
					"value": 1
				},
				"minecraft:target_nearby_sensor": {
					"inside_range": 1.5,
					"outside_range": 1.5,
					"must_see": false,
					"on_inside_range": {
						"event": "bd:stop_hand_skill",
						"target": "self"
					}
				},
				"minecraft:entity_sensor": {
					"sensor_range": 1.5, //this is for the radius in blocks it will detect other entities in
					"relative_range": false, //if true, the sensor range is additive on top of the entity's hitbox size
					"require_all": false, //if true, all nearby entities must pass the filter conditions for the event to send
					"minimum_count": 1, //minimum amount of entities required for the event to fire. by default, it's 1
					"maximum_count": 4, //maximum amount of entities required for the event to fire. by default it's -1, which means infinity
					"event_filters": { //you can put any filter you want here, the one that's being used in this example just detects players
						"test": "is_family",
						"subject": "other",
						"value": "mommy_hand_back"
					},
					"event": "bd:stop_hand_skill" //the event that fires when all the conditions in event_filters are met
				}
            },
			"main_com": {
				"minecraft:type_family": {
					"family": ["mommy_long_bd", "monster"]
				},
				"minecraft:health": {
					"value": 500,
					"max": 500
					//"min": 1
				},
				"minecraft:movement": {
					"value": 0.25
				},
				"minecraft:underwater_movement": {
					"value": 0.2
				},
				
				"minecraft:annotation.open_door": {},
				"minecraft:behavior.nearest_prioritized_attackable_target": {
					"priority": 3,
					"must_see": true,
					"reselect_targets": true,
					"within_radius": 100,
					"must_see_forget_duration": 60,
					"set_persistent": true,
					"entity_types": [{
							"filters": {
								"all_of": [{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "player"
									}, {
										"test": "has_tag",
										"subject": "other",
										"value": "mommy_prey"
									}
								]
							},
							"max_dist": 80,
							"priority": 3
						}, {
							"filters": {
								"all_of": [{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									}, {
										"test": "has_tag",
										"subject": "other",
										"value": "mommy_prey"
									}
								]
							},
							"max_dist": 80,
							"priority": 2
						}
					]
				},
				"minecraft:damage_sensor": {
					"triggers": [{
							"on_damage": {
								"filters": {
									"all_of": [{
											"test": "is_family",
											"subject": "other",
											"value": "huggy_wuggy_force"
										}
									]
								}
							},
							"deals_damage": false
						},
						{
							"cause": "attack",
							"deals_damage": true,
							"damage_modifier": -7
						},
						{
							"cause": "fall",
							"deals_damage": false
						},
						{
							"cause": "anvil",
							"deals_damage": true,
							"damage_modifier": 15
						},
						{
							"cause": "magic",
							"deals_damage": true,
							"damage_modifier": -2
						},
						{
							"cause": "block_explosion",
							"deals_damage": true,
							"damage_modifier": 40
						},
						{
							"cause": "projjectile",
							"deals_damage": true,
							"damage_modifier": 10
						},
						{
							"cause": "entity_explosion",
							"deals_damage": true,
							"damage_modifier": 20
						}
					]
				},
				"minecraft:behavior.hurt_by_target": {
					"priority": 2,
					"entity_types": {
						"filters": {
							"test": "is_family",
							"subject": "other",
							"operator": "!=",
							"value": "inanimate"
						},
						"max_dist": 64
					}
				}
			},
			"jumpscare_skill": {
				"minecraft:behavior.summon_entity": {
					"priority": 1,
					"probability": 100.0,
					"summon_choices": [{
							"weight": 1,
							"cooldown_time": 20.0,
							"cast_duration": 3,
							"max_activation_range": 4.0,
							"min_activation_range": 0,
							"start_sound_event": "plop",
							"sequence": [{
									"shape": "circle",
									"target": "self",
									"base_delay": 0.5,
									"delay_per_summon": 0.0,
									"num_entities_spawned": 1,
									"entity_type": "",
									"entity_lifespan": 1000.0,
									"size": 3.0,
									"sound_event": ""
								}
							]
						}
					]
				}
			},
			"ground": {
				"minecraft:physics": {}
			},
			"air": {
				"minecraft:physics": {
					"has_gravity": false
				}
			}
		},
        "components": {
            "minecraft:nameable": {},
			//mommy component
            "minecraft:experience_reward": {
                "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(10,50)) : 0"
            },
			"minecraft:variant": {
				"value": 0
			},
			"minecraft:preferred_path": {
				"max_fall_blocks": 30
			},
			"minecraft:collision_box": {
				"width": 0.9,
				"height": 1.9
			},
			"minecraft:custom_hit_test": {
				"hitboxes": [
					{
						"width": 4.8,
						"height": 3,
						"pivot": [0, 1.5, 0]
					}
				]
			},
			"minecraft:movement_sound_distance_offset": {
				"value": 0.9
			},
            "minecraft:pushable": {
                "is_pushable": true,
                "is_pushable_by_piston": true
            },
			"minecraft:follow_range": {
				"value": 100
			},
            "minecraft:behavior.stay_while_sitting": {
                "priority": 3
            },
            "minecraft:behavior.open_door": {
                "priority": 5,
                "close_door_after": true
            },
			"minecraft:behavior.lay_down": {
                "priority": 7,
                "random_interval": 230,
                "random_stop_interval": 2300
            },
            "minecraft:attack": {
                "damage": 0
            },
            "minecraft:behavior.float": {
                "priority": 2
            },
            "minecraft:breathable": {
                "totalSupply": 15,
                "suffocateTime": 0,
                "breathesAir": true,
                "breathesWater": true
            },
			"minecraft:knockback_resistance": {
				"value": 1.0
			},
			"minecraft:despawn": {
				"despawn_from_distance":{}
			},
            "minecraft:loot": {
                "table": "loot_tables/entities/huggy_wuggy_bd.json"
            },
			"minecraft:physics": {}
        },
        "events": {
			"minecraft:entity_spawned": {
                "add": {
                    "component_groups": ["attack_target", "passive_mode", "jumpscare_novent", "fake_dead", "main_com", "jumpscare_skill", "melee_control", "enable_knock_resistance"]
                }
            },
			"bd:to_dead2": {
                "add": {
                    "component_groups": ["to_become_dead2"]
                }
            },
			"bd:to_dead": {
                "add": {
                    "component_groups": ["to_become_dead", "enable_knock_resistance"]
                }
            },
			"bd:become_dead": {
                "add": {
                    "component_groups": ["become_dead"]
                }
            },
			"bd:stop_fake_dead": {
				"add": {
                    "component_groups": ["melee_control", "main_com"]
                },
                "remove": {
                    "component_groups": ["fake_dead", "fake_dead_movement"]
                }
            },
			"bd:is_faking_dead": {
				"add": {
                    "component_groups": ["fake_dead_movement"]
                },
				"remove": {
                    "component_groups": ["melee_control", "melee_control_far",
								"attack2",
								"attack3",
								"attack4",
								"jump_back",
								"ram_attack",
								"jump_forward",
								"main_com"]
                }
            },
			"bd:fake_dead": {
				"add": {
                    "component_groups": ["fake_dead", "main_com", "melee_control"]
                },
				"remove": {
                    "component_groups": ["fake_dead_movement"]
                }
            },
			"bd:time_to_eat": {
                "add": {
                    "component_groups": ["time_to_eat"]
                }
            },
			"bd:use_hand_skill": {
				"add": {
                    "component_groups": ["use_hand_skill"]
                },
                "remove": {
                    "component_groups": ["melee_control"]
                }
            },
			"bd:stop_hand_skill": {
				"add": {
                    "component_groups": ["melee_control"]
                },
                "remove": {
                    "component_groups": ["use_hand_skill"]
                },
				"run_command": {
					"command": [
						"execute as @s at @s run event entity @e[type=bd:mommy_hand_bd,c=1] minecraft:start_despawn",
						"execute as @s at @s run event entity @e[type=bd:mommy_hand_tail_back_bd,c=1,r=5] minecraft:start_despawn",
						"execute as @s at @s run event entity @e[type=bd:mommy_hand_tail_bd,r=6] minecraft:start_despawn"
					],
					"target": "self"
				}
            },
			"bd:use_melee_control": {
                "add": {
                    "component_groups": ["melee_control"]
                },
				"remove": {
                    "component_groups": ["attack1", "attack2", "attack3", "attack4", "jump_back", "ram_attack", "attack_tracking", "jump_forward"]
                }
            },
			"bd:attack_tracking": {
                "add": {
                    "component_groups": ["attack_tracking"]
                }
            },
			"bd:remove_attack_tracking": {
                "remove": {
                    "component_groups": ["attack_tracking"]
                }
            },
			"bd:use_attacks": {
                "randomize": [{
                        "weight": 10,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack2",
								"attack3",
								"attack4",
								"jump_back",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
                                "attack1"
                            ]
                        }
                    }, {
                        "weight": 10,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack1",
								"attack3",
								"attack4",
								"jump_back",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
                                "attack2"
                            ]
                        }
                    }, {
                        "weight": 10,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack1",
								"attack2",
								"attack4",
								"jump_back",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
                                "attack3"
                            ]
                        }
                    }, {
                        "weight": 10,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack1",
								"attack2",
								"attack3",
								"jump_back",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
                                "attack4"
                            ]
                        }
                    }, {
                        "weight": 8,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack1",
								"attack2",
								"attack3",
								"attack4",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
								"jump_back"
                            ]
                        }
                    }, {
                        "weight": 7,
                        "remove": {
							"component_groups": [
								"melee_control",
								"attack1",
								"attack2",
								"attack3",
								"attack4",
								"jump_forward",
								"jump_back"
                            ]
						},
                        "add": {
                            "component_groups": [
								"ram_attack"
                            ]
                        }
                    }
                ]
            },
			"bd:use_attacks_far": {
                "randomize": [{
                        "weight": 9,
                        "remove": {
							"component_groups": [
								"melee_control",
								"melee_control_far",
								"attack1",
								"attack2",
								"attack3",
								"attack4",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
								"jump_forward"
                            ]
                        }
                    }, {
                        "weight": 8,
                        "remove": {
							"component_groups": [
								"melee_control_far",
								"attack1",
								"attack2",
								"attack3",
								"attack4",
								"jump_forward",
								"ram_attack"
                            ]
						},
                        "add": {
                            "component_groups": [
								"melee_control"
                            ]
                        }
                    }, {
                        "weight": 2,
                        "remove": {
							"component_groups": [
								"melee_control",
								"melee_control_far",
								"attack1",
								"attack2",
								"attack3",
								"attack4",
								"jump_forward",
								"jump_back"
                            ]
						},
                        "add": {
                            "component_groups": [
								"ram_attack"
                            ]
                        }
                    }
				]
            },
			"bd:eated": {
				"randomize": [{
                        "weight": 4,
                        "add": {
                            "component_groups": ["eated"]
                        },
						"remove": {
                            "component_groups": ["time_to_eat"]
                        },
						"run_command": {
							"command": [
								"execute as @s at @s positioned ^^^2 anchored eyes run ride @s summon_rider bd:mommy_eat"
							],
							"target": "self"
						}
                    }
				]
            },
			"bd:stop_eat": {
                "remove": {
                    "component_groups": ["eated"]
                }
            },
			"bd:on_right": {
                "add": {
                    "component_groups": ["on_right"]
                },
				"remove": {
                    "component_groups": ["on_left", "on_celling", "jumpscare_novent"]
                }
            },
			"bd:on_left": {
                "add": {
                    "component_groups": ["on_left"]
                },
				"remove": {
                    "component_groups": ["on_right", "on_celling", "jumpscare_novent"]
                }
            },
			"bd:on_celling": {
                "add": {
                    "component_groups": ["on_celling"]
                },
				"remove": {
                    "component_groups": ["on_right", "on_left", "jumpscare_novent"]
                }
            },
			"bd:ground": {
                "add": {
                    "component_groups": ["ground"]
                },
				"remove": {
                    "component_groups": ["air"]
                }
            },
			"bd:air": {
                "add": {
                    "component_groups": ["air"]
                },
				"remove": {
                    "component_groups": ["ground"]
                }
            },
			"bd:jumpscare_vent": {
                "add": {
                    "component_groups": ["jumpscare_vent"]
                }
            },
			"bd:jumpscare_novent": {
                "add": {
                    "component_groups": ["jumpscare_novent"]
                },
				"remove": {
                    "component_groups": ["jumpscare_vent", "on_left", "on_right", "on_celling"]
                }
            },
			"bd:passive_mode": {
                "add": {
                    "component_groups": ["passive_mode"]
                },
				"remove": {
                    "component_groups": ["hunt_mode"]
                }
            },
			"bd:hunt_mode": {
                "add": {
                    "component_groups": ["hunt_mode"]
                },
				"remove": {
                    "component_groups": ["passive_mode"]
                }
            },
			"bd:show_health": {
                "add": {
                    "component_groups": ["show_health"]
                }
            },
			"bd:hide_health": {
                "remove": {
                    "component_groups": ["show_health"]
                }
            },
			"bd:no_allow_jumpscare": {
                "remove": {
                    "component_groups": ["allow_jumpscare"]
                }
            },
			"bd:use_jumpscare": {
                "add": {
                    "component_groups": ["jumpscare_skill", "allow_jumpscare"]
                }
            },
			"bd:stop_jumpscare": {
                "remove": {
                    "component_groups": ["jumpscare_skill"]
                }
            }
		}
    }
}