2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id" : "blockception.minecraft.behavior.entities.minecraft.behavior.mingle" ,
2021-10-08 12:59:03 +02:00
"description" : "Allows an entity to go to the village bell and mingle with other entities." ,
"type" : "object" ,
2021-10-08 13:04:13 +02:00
"title" : "Mingle" ,
2021-10-08 12:59:03 +02:00
"additionalProperties" : false ,
"required" : [ ] ,
"properties" : {
2022-04-20 15:54:51 +02:00
"priority" : { "$ref" : "types/priority.json" } ,
"speed_multiplier" : { "$ref" : "types/speed_multiplier.json" } ,
2021-10-08 12:59:03 +02:00
"cooldown_time" : {
"type" : "number" ,
"default" : 0 ,
2022-07-22 19:41:04 +02:00
"description" : "Time in seconds the mob has to wait before using the goal again." ,
2021-10-08 12:59:03 +02:00
"title" : "Cooldown Time"
} ,
"duration" : {
"type" : "number" ,
"default" : 1 ,
2022-07-22 19:41:04 +02:00
"description" : "Amount of time in seconds that the entity will chat with another entity." ,
2021-10-08 12:59:03 +02:00
"title" : "Duration"
} ,
"mingle_distance" : {
"type" : "number" ,
"default" : 2.0 ,
"description" : "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." ,
"title" : "Mingle Distance"
} ,
"mingle_partner_type" : {
2022-07-22 19:41:04 +02:00
"description" : "The entity type that this entity is allowed to mingle with." ,
2021-10-08 12:59:03 +02:00
"title" : "Mingle Partner Type" ,
"oneOf" : [
2021-10-11 18:13:12 +02:00
{
"type" : "array" ,
"items" : {
2022-07-22 19:41:04 +02:00
"description" : "The entity type that this entity is allowed to mingle with." ,
2021-10-11 18:13:12 +02:00
"type" : "string"
}
} ,
{
"type" : "string"
}
2021-10-08 12:59:03 +02:00
]
}
2021-10-11 18:13:12 +02:00
} ,
"examples" : [
{
"cooldown_time" : 0 ,
"duration" : 1 ,
"mingle_distance" : 2.0
}
]
2022-04-20 15:54:51 +02:00
}