minecraft:behavior.mingle

Allows an entity to go to the village bell and mingle with other entities

Properties

PropertyTypeDefaultWhat it does
durationDecimalmin 01Amount of time in seconds that the entity will chat with another entity
cooldown_timeDecimalmin 00Time in seconds the mob has to wait before using the goal again
mingle_partner_typeText""The entity type that this entity is allowed to mingle with
mingle_distanceDecimalmin 02The 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_multiplierDecimalmin 01Movement speed multiplier of the mob when using this goal.
priorityIntegermin 00
control_flagsList 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