minecraft:behavior.find_mount
Allows the mob to look around for another mob to ride atop it.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
within_radius | Decimal | 0 | Distance in blocks within which the mob will look for a mount |
start_delay | Integer | 0 | Time the mob will wait before starting to move towards the mount |
avoid_water | Boolean | false | If true, the mob will not go into water blocks when going towards a mount |
target_needed | Boolean | false | If true, the mob will only look for a mount if it has a target |
mount_distance | Decimal | -1 | This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance |
max_failed_attempts | Integer | 20 | Number of attempts to find mount |
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Example from the game files
This is how vanilla Parrot uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:behavior.find_mount": {
"avoid_water": true,
"mount_distance": 2.0,
"priority": 4,
"start_delay": 100,
"target_needed": false,
"within_radius": 16
}
}Used by 8
Vanilla entities with minecraft:behavior.find_mount in their definition:
Related components
behavior.look_at_playerbehavior.temptbehavior.breedbehavior.mount_pathingbehavior.follow_parentbehavior.player_ride_tamedbehavior.celebratebehavior.follow_ownerbehavior.stay_while_sittingbehavior.look_at_trading_playerbehavior.random_look_around_and_sitbehavior.take_flowerbehavior.trade_with_playerbehavior.celebrate_survivebehavior.controlled_by_playerbehavior.follow_caravanbehavior.follow_mobbehavior.make_lovebehavior.ocelot_sit_on_blockbehavior.playbehavior.receive_lovebehavior.share_itemsbehavior.trade_interestbehavior.admire_item