{
    "format_version": "1.10.0",
    "minecraft:client_entity": {
        "description": {
            "identifier": "bd:kissy_missy_bd",
            "materials": {
                "default": "npc"
            },
            "textures": {
                "default": "textures/entity/kissy_missy_bd"
            },
            "geometry": {
                "default": "geometry.kissy_missy_bd"
            },
            "animations": {
                "moving": "animation.huggy_wuggy_bd.moving",
				"moving_leg": "animation.huggy_wuggy_bd.moving_leg",
				"running": "animation.huggy_wuggy_bd.running",
				"running_leg": "animation.huggy_wuggy_bd.running_leg",
                "huggy_wuggy_bd_general": "animation.huggy_wuggy_bd.general",
				"huggy_wuggy_bd_general_leg": "animation.huggy_wuggy_bd.general_leg",
				"dusk": "animation.huggy_wuggy_bd.dusk",
				"dusk2": "animation.huggy_wuggy_bd.dusk2",
				"dusk_leg": "animation.huggy_wuggy_bd.dusk_leg",
				"dusk2_leg": "animation.huggy_wuggy_bd.dusk2_leg",
				"attack1": "animation.huggy_wuggy_bd.attack1",
				"attack2": "animation.huggy_wuggy_bd.attack2",
				"play_dead": "animation.huggy_wuggy_bd.play_dead",
				"play_dead_leg": "animation.huggy_wuggy_bd.play_dead_leg",
				"dead": "animation.huggy_wuggy_bd.dead",
				"dead_leg": "animation.huggy_wuggy_bd.dead_leg",
				"grab": "animation.huggy_wuggy_bd.grab",
				"grab2": "animation.huggy_wuggy_bd.grab2",
				"grab_success": "animation.huggy_wuggy_bd.grab_success",
				"grab_success_down": "animation.huggy_wuggy_bd.grab_success_down",
				"grab_success_down_leg": "animation.huggy_wuggy_bd.grab_success_down_leg",
				"look_at": "animation.huggy_wuggy_bd.look_at",
				"look_at_off": "animation.huggy_wuggy_bd.look_at_off",
				"vent_move": "animation.huggy_wuggy_bd.vent_move",
				"vent_move_sound": "animation.huggy_wuggy_bd.vent_move_sound",
				"vent_move_sound_fast": "animation.huggy_wuggy_bd.vent_move_sound_fast",
				"vent_move_leg": "animation.huggy_wuggy_bd.vent_move_leg",
				"falling": "animation.huggy_wuggy_bd.falling",
				"landing": "animation.huggy_wuggy_bd.landing",
				"landing_leg": "animation.huggy_wuggy_bd.landing_leg",
				"lying": "animation.huggy_wuggy_bd.lying",
				"lying_leg": "animation.huggy_wuggy_bd.lying_leg",
				"other_leg": "animation.huggy_wuggy_bd.other_leg",
				"other_leg2": "animation.huggy_wuggy_bd.other_leg2",
				"passive_mode": "animation.huggy_wuggy_bd.passive_mode",
				"hunt_mode": "animation.huggy_wuggy_bd.hunt_mode",
				
				"look_out": "controller.animation.huggy_wuggy_bd.look_out",
				"mouth": "controller.animation.huggy_wuggy_bd.mouth",
                "general": "controller.animation.huggy_wuggy_bd.general",
				"general_leg": "controller.animation.huggy_wuggy_bd.general_leg",
				"crouch_leg": "controller.animation.huggy_wuggy_bd.crouch_leg",
				"vent_sounding": "controller.animation.huggy_wuggy_bd.vent_sounding"
            },
            "scripts": {
                "animate": [
                    "general", "general_leg", "look_out", "crouch_leg", "mouth", "vent_sounding"
                ],
				"pre_animation": [
				  "variable.random = math.round(math.random(0,1));",
				  "variable.attack = Math.sin(variable.attack_time * 30.0);",
				  "variable.random2 = math.floor(math.random(0,1));",
			      "variable.dusk_3_block = (q.relative_block_has_any_tag(0,3,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling',' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block','fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block', 'stem_block', 'thinFence_block','unbreakable', 'wall_block', 'water_blocking', 'can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable'  ) && !q.relative_block_has_any_tag(0,2,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling' ,  ' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block',   'fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block','stem_block','thinFence_block','unbreakable','wall_block','water_blocking','can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable'));",
				  "variable.dusk_2_block = q.relative_block_has_any_tag(0,2,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling',' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block','fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block', 'stem_block', 'thinFence_block','unbreakable', 'wall_block', 'water_blocking', 'can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable');",
				  "variable.nodusk_3_block = (!q.relative_block_has_any_tag(0,3,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling',' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block','fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block', 'stem_block', 'thinFence_block','unbreakable','wall_block','water_blocking', 'can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable'  ) && !q.relative_block_has_any_tag(0,2,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling' ,  ' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block',   'fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block','stem_block','thinFence_block','unbreakable','wall_block','water_blocking','can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable'));",
				  "variable.nodusk_2_block = !q.relative_block_has_any_tag(0,2,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling',' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block','fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block', 'stem_block', 'thinFence_block','unbreakable','wall_block','water_blocking', 'can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable');",
				  "variable.nodusk_all_block = (!q.relative_block_has_any_tag(0,3,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling',' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block','fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block', 'stem_block', 'thinFence_block','unbreakable', 'wall_block', 'water_blocking', 'can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable')) || (!q.relative_block_has_any_tag(0,2,0,'wood','metal','stone','plant','dirt', 'grass','concrete','sand','gravel', 'snow','mob_spawner','diamond_pick_diggable','gold_pick_diggable','iron_pick_diggable','stone_pick_diggable','wood_pick_diggable','can_be_broken_from_falling' ,  ' can_hurt_and_break_item','button_block', 'container_block', 'crafting_block', 'crop_block', 'door_block', 'empty','fence_block',   'fenceGate_block', 'flammable','heavy','hot','hurtable_block','interactive_block','motion_blocking_block','rail_block','signal_source', 'slab_block', 'solid','solid_blocking_block','stair_block','stem_block','thinFence_block','unbreakable','wall_block','water_blocking','can_be','acacia', 'birch', 'dark_oak', 'log', 'oak', 'spruce', 'jungle','lush_plants_replaceable','azalea_log_replaceable'));"
				]
            },
			"sound_effects": {
				"eat": "mob.huggy_wuggy.jumpscare",
				"attack": "mob.huggy_wuggy.attack",
				"vent_stepping": "mob.huggy_wuggy.vent_step",
				"fall": "mob.huggy_wuggy.fall"
			},
            "render_controllers": [
                "controller.render.skeleton"
            ],
			"enable_attachables": true,
            "spawn_egg": {
                "base_color": "#901447",
                "overlay_color": "#901447"
            }
        }
    }
}