{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "eu:herios",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"eu:herios_baby": {
				"minecraft:is_baby": {},
				"minecraft:scale": {
					"value": 0.5
				},
				"minecraft:movement": {
					"value": 0.35
				}
			},
			"eu:herios_adult": {
				"minecraft:movement": {
					"value": 0.23
				},
				"minecraft:rideable": {
					"seat_count": 1,
					"family_types": [
						"herios"
					],
					"seats": {
						"position": [
							0,
							1.1,
							-0.35
						],
						"lock_rider_rotation": 0
					}
				},
				"minecraft:behavior.mount_pathing": {
					"priority": 2,
					"speed_multiplier": 1.25,
					"target_dist": 0,
					"track_target": true
				}
			},
			"eu:herios_jockey": {
				"minecraft:behavior.find_mount": {
					"priority": 1,
					"within_radius": 16
				}
			}
		},
		"components": {
			"minecraft:economy_trade_table": {
				"display_name": "entity.herios.name",
				"table": "trading/economy_trades/herios_trades.json",
				"new_screen": true
			},
			"minecraft:behavior.trade_with_player": {
				"priority": 1
			},
			"minecraft:behavior.trade_interest": {
				"priority": 3,
				"within_radius": 6,
				"interest_time": 45,
				"remove_item_time": 1,
				"carried_item_switch_time": 2,
				"cooldown": 2
			},
			"minecraft:nameable": {},
			"minecraft:type_family": {
				"family": [
					"herios"
				]
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.9
			},
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"is_amphibious": true,
				"can_pass_doors": true,
				"can_walk": true,
				"can_break_doors": true
			},
			"minecraft:behavior.panic": {
				"priority": 1,
				"speed_multiplier": 0.6
			},
			"minecraft:behavior.avoid_mob_type": {
				"priority": 2,
				"entity_types": [
					{
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "zombie"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "zombie_villager"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "zombie_pigman"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "illager"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "vex"
								}
							]
						},
						"walk_speed_multiplier": 0.6,
						"sprint_speed_multiplier": 0.6
					}
				],
				"max_dist": 6
			},
			"minecraft:behavior.restrict_open_door": {
				"priority": 5
			},
			"minecraft:behavior.open_door": {
				"priority": 6,
				"close_door_after": true
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:health": {
				"value": 20,
				"max": 20
			},
			"minecraft:hurt_on_condition": {
				"damage_conditions": [
					{
						"filters": {
							"test": "in_lava",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"cause": "lava",
						"damage_per_tick": 4
					}
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0,
				"breathes_air": true,
				"breathes_water": true
			},
			"minecraft:attack": {
				"damage": 3
			},
			"minecraft:loot": {
				"table": "loot_tables/entities/herios.json"
			},
			"minecraft:behavior.stomp_turtle_egg": {
				"priority": 4,
				"speed_multiplier": 1,
				"search_range": 10,
				"search_height": 3,
				"goal_radius": 1.14,
				"search_count": 4,
				"interval": 20
			},
			"minecraft:behavior.move_towards_restriction": {
				"priority": 5,
				"speed_multiplier": 1
			},
			"minecraft:behavior.random_stroll": {
				"priority": 6,
				"speed_multiplier": 1
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 6,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 7
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"eu:herios_adult"
					]
				}
			},
			"eu:as_adult": {
				"add": {
					"component_groups": [
						"eu:herios_adult"
					]
				}
			},
			"eu:as_baby": {
				"add": {
					"component_groups": [
						"eu:herios_baby"
					]
				}
			}
		}
	}
}