{
    "format_version": "1.16.100",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:poppy_bd",
            "is_spawnable": true,
            "is_summonable": true,
            "is_experimental": false,
            "scripts": {
                "animate": [
                ]
            },
            "animations": {
            }
        },
        "component_groups": {
		},
        "components": {
            "minecraft:nameable": {},

            // poppy Components
            "minecraft:experience_reward": {
                "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
            },
			"minecraft:scale": {
				"value": 0.8
			},
			"minecraft:knockback_resistance": {
                "value": 1.0
            },
            "minecraft:inventory": {
                "inventory_size": 30
            },
            "minecraft:type_family": {
                "family": ["poppy", "doll"]
            },
            "minecraft:collision_box": {
                "width": 0.6,
                "height": 1.8
            },
            "minecraft:hide": {},
            "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:spell_effects": {
                "add_effects": [{
                        "effect": "regeneration",
                        "amplifier": 3,
                        "visible": false,
                        "duration": 1000000
                    }
                ]
            },
            "minecraft:damage_sensor": {
				"triggers": [{
						"on_damage": {
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "sakuya"
							}
						},
						"deals_damage": false
					}
				]
			},
			"minecraft:behavior.lay_down": {
                "priority": 7,
                "random_interval": 230,
                "random_stop_interval": 2300
            },
			"minecraft:movement": {
                "value": 0.25
            },
            "minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"can_pass_doors": true,
                "can_open_doors": true,
				"can_path_from_air": true
			},
            "minecraft:annotation.open_door": {},
            "minecraft:jump.static": {},
            "minecraft:can_climb": {},

            "minecraft:behavior.float": {
                "priority": 0
            },
            "minecraft:health": {
                "value": 20,
                "max": 20
            },
            "minecraft:breathable": {
                "totalSupply": 15,
                "suffocateTime": 0,
                "breathesAir": true,
                "breathesWater": true
            },
            "minecraft:loot": {
                "table": "loot_tables/entities/boris.json"
            },
            "minecraft:behavior.random_stroll": {
                "priority": 5,
                "speed_multiplier": 0.8
            },
			"minecraft:behavior.hurt_by_target": {
				"priority": 2
			},
            "minecraft:behavior.look_at_player": {
                "priority": 7,
                "look_distance": 6,
                "probability": 0.02
            },
            "minecraft:behavior.random_look_around": {
                "priority": 7
            },
            "minecraft:physics": {}
        },
        "events": {
		}
    }
}