跳转至

Mingle

文档版本:1.21.0.24

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

架构

mingle:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  number "cooldown_time" : opt
  number "duration" : opt
  number "mingle_distance" : opt
  array "mingle_partner_type" : opt
  {
    string "<any array element>" : opt
  }
  string "mingle_partner_type" : opt
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
cooldown_timenumber
Time in seconds the mob has to wait before using the goal again.
durationnumber
Amount of time in seconds that the entity will chat with another entity.
mingle_distancenumber
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.
mingle_partner_typearray
The entity type that this entity is allowed to mingle with.
mingle_partner_type
<any array element>string
The entity type that this entity is allowed to mingle with.
mingle_partner_typestring
The entity type that this entity is allowed to mingle with.