2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-04-04 13:52:35 +02:00
"$id" : "blockception.minecraft.behavior.entities.1.8.0.minecraft.flocking" ,
2020-11-01 17:22:42 +01:00
"type" : "object" ,
"title" : "Flocking 1.8.0" ,
"description" : "Allows entities to flock in groups in water or not." ,
"additionalProperties" : false ,
"properties" : {
2021-03-21 15:18:38 +01:00
"block_distance" : { "type" : "number" , "default" : 0 , "description" : "The amount of blocks away the entity will look at to push away from." , "title" : "Block Distance" } ,
"block_weight" : { "type" : "number" , "default" : 0 , "description" : "The weight of the push back away from blocks." , "title" : "Block Weight" } ,
2020-11-01 17:22:42 +01:00
"breach_influence" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The amount of push back given to a flocker that breaches out of the water." ,
2021-03-21 15:18:38 +01:00
"title" : "Breach Influence"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"cohesion_threshold" : { "type" : "number" , "default" : 1 , "description" : "The threshold in which to start applying cohesion." , "title" : "Cohesion Threshold" } ,
"cohesion_weight" : { "type" : "number" , "default" : 1 , "description" : "The weight applied for the cohesion steering of the flock." , "title" : "Cohesion Weight" } ,
"goal_weight" : { "type" : "number" , "default" : 0 , "description" : "The weight on which to apply on the goal output." , "title" : "Goal Weight" } ,
2020-11-01 17:22:42 +01:00
"high_flock_limit" : {
"type" : "integer" ,
"default" : 0 ,
"description" : "Determines the high bound amount of entities that can be allowed in the flock." ,
2021-03-21 15:18:38 +01:00
"title" : "High Flock Limit"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"in_water" : { "type" : "boolean" , "default" : false , "description" : "Tells the Flocking Component if the entity exists in water." , "title" : "In Water" } ,
"influence_radius" : { "type" : "number" , "default" : 0 , "description" : "The area around the entity that allows others to be added to the flock." , "title" : "Influence Radius" } ,
2020-11-01 17:22:42 +01:00
"innner_cohesion_threshold" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The distance in which the flocker will stop applying cohesion." ,
2021-03-21 15:18:38 +01:00
"title" : "Innner Cohesion Threshold"
2020-11-01 17:22:42 +01:00
} ,
"loner_chance" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The percentage chance between 0-1 that a fish will spawn and not want to join flocks. Invalid values will be capped at the end points." ,
2021-03-21 15:18:38 +01:00
"title" : "Loner Chance"
2020-11-01 17:22:42 +01:00
} ,
"low_flock_limit" : {
"type" : "integer" ,
"default" : 0 ,
"description" : "Determines the low bound amount of entities that can be allowed in the flock." ,
2021-03-21 15:18:38 +01:00
"title" : "Low Flock Limit"
2020-11-01 17:22:42 +01:00
} ,
"match_variants" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Tells the flockers that they can only match similar entities that also match the variant, mark variants, and color data of the other potential flockers." ,
2021-03-21 15:18:38 +01:00
"title" : "Match Variants"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"max_height" : { "type" : "number" , "default" : 0 , "description" : "The max height allowable in the air or water." , "title" : "Max Height" } ,
"min_height" : { "type" : "number" , "default" : 0 , "description" : "The min height allowable in the air or water." , "title" : "Min Height" } ,
2020-11-01 17:22:42 +01:00
"separation_threshold" : {
"type" : "number" ,
"default" : 2 ,
"description" : "The distance that is determined to be to close to another flocking and to start applying separation." ,
2021-03-21 15:18:38 +01:00
"title" : "Separation Threshold"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"separation_weight" : { "type" : "number" , "default" : 1 , "description" : "The weight applied to the separation of the flock." , "title" : "Separation Weight" } ,
2020-11-01 17:22:42 +01:00
"use_center_of_mass" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Tells the flockers that they will follow flocks based on the center of mass." ,
2021-03-21 15:18:38 +01:00
"title" : "Use Center Of Mass"
2020-11-01 17:22:42 +01:00
}
}
}