{ "minecraft:entity": { "format_version": 0.1, "component_groups": { "minecraft:horse_baby": { "minecraft:is_baby": { }, "minecraft:scale_by_age": { "start_scale": 0.5, "end_scale": 1.0 }, "minecraft:ageable": { "duration": 1200, "feedItems": [ { "item": "wheat", "growth": 0.016667 }, { "item": "sugar", "growth": 0.025 }, { "item": "tile.hay_block", "growth": 0.15 }, { "item": "apple", "growth": 0.05 }, { "item": "golden_carrot", "growth": 0.05 }, { "item": "golden_apple", "growth": 0.2 }, { "item": "appleEnchanted", "growth": 0.2 } ], "grow_up": { "event": "minecraft:ageable_grow_up", "target": "self" } }, "minecraft:behavior.follow_parent": { "priority": 4, "speed_multiplier": 1.0 } }, "minecraft:horse_adult": { "minecraft:loot": { "table": "loot_tables/entities/horse.json" }, "minecraft:behavior.run_around_like_crazy": { "priority": 1, "speed_multiplier": 1.2 }, "minecraft:behavior.breed": { "priority": 2, "speed_multiplier": 1.0 } }, "minecraft:horse_wild": { "minecraft:rideable": { "seat_count": 1, "family_types": [ "player", "zombie" ], "interact_text": "action.interact.mount", "seats": { "position": [0.0, 1.1, -0.2] } }, "minecraft:behavior.avoid_mob_type": { "priority": 2, "entity_types": [ { "filters": { "other_with_families": ["player", "zombie", "ocelot", "polarbear" ]}, "max_dist": 15, "walk_speed_multiplier":1.5, "sprint_speed_multiplier": 1.9 } ] }, "minecraft:behavior.mount_pathing": { "priority": 2, "speed_multiplier": 2.0, "target_dist": 0.0, "track_target": true }, "minecraft:tamemount": { "minTemper": 0, "maxTemper": 100, "feed_text": "action.interact.feed", "ride_text": "action.interact.mount", "feedItems": [ { "item": "wheat", "temperMod": 3 }, { "item": "sugar", "temperMod": 3 }, { "item": "apple", "temperMod": 3 }, { "item": "golden_carrot", "temperMod": 5 }, { "item": "golden_apple", "temperMod": 10 }, { "item": "appleEnchanted", "temperMod": 10 } ], "autoRejectItems": [ { "item": "horsearmorleather" }, { "item": "horsearmoriron" }, { "item": "horsearmorgold" }, { "item": "horsearmordiamond" }, { "item": "saddle" } ], "tame_event": { "event": "minecraft:on_tame", "target": "self" } } }, "minecraft:horse_tamed": { "minecraft:is_tamed": { }, "minecraft:rideable": { "priority": 0, "seat_count": 2, "crouching_skip_interact": true, "family_types": [ "player" ], "interact_text": "action.interact.ride.horse", "seats": [ { "position": [0.0, 1.1, -0.2], "min_rider_count": 0, "max_rider_count": 1, "rotate_rider_by": -90 //"lock_rider_rotation": 90 }, { "position": [0.0, 1.1, -0.2], "min_rider_count": 2, "max_rider_count": 2, "rotate_rider_by": -90 //"lock_rider_rotation": 90 }, { "position": [ 0.0, 1.1, -0.72], "min_rider_count": 2, "max_rider_count": 2, "rotate_rider_by": -90 //"lock_rider_rotation": 90 } ] }, "minecraft:behavior.avoid_mob_type": { "priority": 2, "entity_types": [ { "filters": { "other_with_families": ["zombie"]}, "max_dist": 10, "walk_speed_multiplier":1.2, "sprint_speed_multiplier": 1.9 }, { "filters": { "other_with_families": ["ocelot", "polarbear" ]}, "max_dist": 3, "walk_speed_multiplier":1.2, "sprint_speed_multiplier": 1.9 } ] }, "minecraft:behavior.player_ride_tamed": { }, "minecraft:inventory": { "inventory_size": 2, "container_type": "horse" }, "minecraft:breedable": { "requireTame": true, "inheritTamed": false, "breedsWith": [ { "mateType": "minecraft:horse", "babyType": "minecraft:horse", "breed_event": { "event": "minecraft:entity_born", "target": "baby" } }, { "mateType": "minecraft:donkey", "babyType": "minecraft:mule", "breed_event": { "event": "minecraft:entity_born", "target": "baby" } } ], "breedItems": [ "golden_carrot", "golden_apple", "appleEnchanted" ] }, "minecraft:behavior.tempt": { "priority": 5, "speed_multiplier": 1.2, "items": [ "apple", "carrot", "golden_apple", "appleEnchanted", "golden_carrot", "tile.hay_block", "sugar", "bread", "wheat" ] } }, "minecraft:horse_leashed": { "minecraft:behavior.move_towards_restriction": { "priority": 2, "speed_multiplier": 1.8 } }, "minecraft:horse_transformed": { "minecraft:transformation": { "into": "minecraft:donkey" } }, "minecraft:horse_saddled": { "minecraft:is_saddled": { } } }, "components": { "minecraft:identifier": { "id": "minecraft:horse" }, "minecraft:equippable": { "slots": [ { "item": "saddle", "on_equip": { "event": "minecraft:horse_saddled" }, "on_unequip": { "event": "minecraft:horse_unsaddled" } } ] }, "minecraft:type_family": { "family": [ "horse" ] }, "minecraft:breathable": { "totalSupply": 15, "suffocateTime": 0 }, "minecraft:collision_box": { "width": 1.4, "height": 1.6 }, "minecraft:health": { "value": { "range_min": 15, "range_max": 30 } }, "minecraft:movement": { "value": { "range_min": 0.1125, "range_max": 0.3375 } }, "minecraft:nameable": { }, "minecraft:horse.jump_strength": { "value": { "range_min": 0.4, "range_max": 1.0 } }, "minecraft:leashable": { "soft_distance": 4.0, "hard_distance": 6.0, "max_distance": 10.0, "on_leash": { "event": "minecraft:on_leash", "target": "self" }, "on_unleash": { "event": "minecraft:on_unleash", "target": "self" } }, "minecraft:healable": { "items": [ { "item": "wheat", "heal_amount": 2 }, { "item": "sugar", "heal_amount": 1 }, { "item": "tile.hay_block", "heal_amount": 20 }, { "item": "apple", "heal_amount": 3 }, { "item": "golden_carrot", "heal_amount": 4 }, { "item": "golden_apple", "heal_amount": 10 }, { "item": "appleEnchanted", "heal_amount": 10 } ] }, "minecraft:behavior.float": { "priority": 0 }, "minecraft:behavior.panic": { "priority": 3, "speed_multiplier": 1.2 }, "minecraft:behavior.random_stroll": { "priority": 6, "speed_multiplier": 0.7 }, "minecraft:behavior.look_at_player": { "priority": 7, "look_distance": 6.0, "probability": 0.02 }, "minecraft:behavior.random_look_around": { "priority": 8 } }, "events": { "minecraft:entity_spawned": { "randomize": [ { "weight": 36, "add": { "component_groups": [ "minecraft:horse_adult", "minecraft:horse_wild" ] } }, { "weight": 9, "add": { "component_groups": [ "minecraft:horse_baby" ] } }, { "weight": 5, "filters": { "other_without_families": "player" }, "add": { "component_groups": [ "minecraft:horse_transformed" ] } } ] }, "minecraft:entity_born": { "add": { "component_groups": [ "minecraft:horse_baby" ] } }, "minecraft:on_tame": { "remove": { "component_groups": [ "minecraft:horse_wild" ] }, "add": { "component_groups": [ "minecraft:horse_tamed" ] } }, "minecraft:ageable_grow_up": { "remove": { "component_groups": [ "minecraft:horse_baby" ] }, "add": { "component_groups": [ "minecraft:horse_adult", "minecraft:horse_wild" ] } }, "minecraft:on_leash": { "add": { "component_groups": [ "minecraft:horse_leashed" ] } }, "minecraft:on_unleash": { "remove": { "component_groups": [ "minecraft:horse_leashed" ] } }, "minecraft:horse_saddled": { "add": { "component_groups": [ "minecraft:horse_saddled" ] } }, "minecraft:horse_unsaddled": { "remove": { "component_groups": [ "minecraft:horse_saddled" ] } } } } }