minecraft:behavior.mingle
Allows an entity to go to the village bell and mingle with other entities
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
duration | Decimalmin 0 | 1 | Amount of time in seconds that the entity will chat with another entity |
cooldown_time | Decimalmin 0 | 0 | Time in seconds the mob has to wait before using the goal again |
mingle_partner_type | Text | "" | The entity type that this entity is allowed to mingle with |
mingle_distance | Decimalmin 0 | 2 | The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities. |
speed_multiplier | Decimalmin 0 | 1 | Movement speed multiplier of the mob when using this goal. |
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Example from the game files
This is how vanilla Villager uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:behavior.mingle": {
"cooldown_time": 10,
"duration": 30,
"mingle_distance": 2,
"mingle_partner_type": "minecraft:villager_v2",
"priority": 7,
"speed_multiplier": 0.5
}
}Used by 1
Vanilla entities with minecraft:behavior.mingle in their definition:
Related components
behavior.look_at_playerbehavior.temptbehavior.breedbehavior.mount_pathingbehavior.follow_parentbehavior.player_ride_tamedbehavior.find_mountbehavior.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_interest