{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "cc_fairytales:crimson_dryad",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"cuida_bloque": {
				"minecraft:block_sensor": {
					"sensor_radius": 16,
					"on_break": [
						{
							"block_list": [
								"minecraft:crimson_stem",
								"minecraft:crimson_nylium",
								"minecraft:weeping_vines",
								"minecraft:nether_wart_block",
								"minecraft:crimson_roots",
								"minecraft:crimson_fungus",
								"minecraft:red_mushroom"
							],
							"on_block_broken": "important_block_destroyed_event"
						}
					]
				}
			},
			"take_target_as_response_to_block_break": {
				"minecraft:behavior.nearest_attackable_target": {
					"priority": 7,
					"entity_types": [
						{
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "player"
							},
							"max_dist": 30
						}
					]
				}
			}
		},
		"components": {
			"minecraft:physics": {
				"has_gravity": true,
				"has_collision": true
			},
			"minecraft:pushable": {
				"is_pushable": true
			},
			"minecraft:fire_immune": {},
			"minecraft:behavior.hurt_by_target": {
				"priority": 3
			},"minecraft:type_family": {
				"family": [
					"mob",
					"dryad"
				]
			},
			"minecraft:navigation.walk": {},
			"minecraft:movement": {
				"value": 0.3
			},"minecraft:loot": {
				"table": "loot_tables/chillcraft/fairy/entities/crimson_dryad.json"
			},
			"minecraft:collision_box": {
				"width": 1,
			"height": 2.2
			},
			"minecraft:behavior.random_stroll": {
				"priority": 6,
				"speed_multiplier": 1
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 8
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:health": {
				"value": 30
			},
			"minecraft:nameable": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.melee_box_attack": {
				"priority": 0,
				"track_target": true
			},
			"minecraft:attack": {
				"damage": 8
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player ? 10"
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"cuida_bloque"
					]
				}
			},
			"important_block_destroyed_event": {
				"add": {
					"component_groups": [
						"take_target_as_response_to_block_break"
					]
				}
			}
		}
	}
}