2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id" : "blockception.minecraft.behavior.entities.minecraft.dweller" ,
2021-10-08 12:59:03 +02:00
"type" : "object" ,
2021-10-08 13:04:13 +02:00
"title" : "Dweller" ,
2022-07-13 22:08:48 +01:00
"description" : "Allows a mob to join and migrate between villages and other dwellings." ,
2021-10-08 12:59:03 +02:00
"additionalProperties" : false ,
"properties" : {
"dwelling_type" : {
"type" : "string" ,
"title" : "Dwelling Type" ,
2022-07-13 22:08:48 +01:00
"description" : "The type of dwelling the mob wishes to join. Current Types: village" ,
"enum" : [ "village" ]
2021-10-08 12:59:03 +02:00
} ,
"dweller_role" : {
"type" : "string" ,
"title" : "Dwelling Role" ,
2022-07-13 22:08:48 +01:00
"description" : "The role of which the mob plays in the dwelling. Current Roles: inhabitant, defender, hostile, passive." ,
"enum" : [ "inhabitant" , "defender" , "hostile" , "passive" ]
2021-10-08 12:59:03 +02:00
} ,
"update_interval_base" : {
2022-07-13 22:08:48 +01:00
"type" : "number" ,
2021-10-08 12:59:03 +02:00
"title" : "Update Interval Base" ,
2022-07-13 22:08:48 +01:00
"description" : "How often the mob checks on their dwelling status in ticks. Positive values only." ,
"minimum" : 0
2021-10-08 12:59:03 +02:00
} ,
"update_interval_variant" : {
2022-07-13 22:08:48 +01:00
"type" : "number" ,
2021-10-08 12:59:03 +02:00
"title" : "Update Interval Variant" ,
2022-07-13 22:08:48 +01:00
"description" : "The variant value in ticks that will be added to the update_interval_base."
2021-10-08 12:59:03 +02:00
} ,
"can_find_poi" : {
"type" : "boolean" ,
"title" : "Can Find Poi" ,
2022-07-13 22:08:48 +01:00
"description" : "Whether or not the mob can find and add POI's to the dwelling."
} ,
"first_founding_reward" : {
"type" : "integer" ,
"title" : "First Founding Reward" ,
"description" : "How much reputation should the players be rewarded on first founding?"
2021-10-08 12:59:03 +02:00
} ,
"can_migrate" : {
"type" : "boolean" ,
"title" : "Can Migrate" ,
2022-07-13 22:08:48 +01:00
"description" : "Can this mob migrate between dwellings? Or does it only have its initial dwelling?"
2021-10-08 12:59:03 +02:00
} ,
2022-07-13 22:08:48 +01:00
"dwelling_bounds_tolerance" : {
"title" : "Dwelling Bounds Tolerance" ,
"type" : "number" ,
"description" : "A padding distance for checking if the mob is within the dwelling."
} ,
"preferred_profession" : {
"type" : "string" ,
"title" : "Preferred Profession" ,
"description" : "Allows the user to define a starting profession for this particular Dweller, instead of letting them choose organically. (They still need to gain experience from trading before this takes effect.)"
2021-10-08 12:59:03 +02:00
}
2021-10-11 18:10:42 +02:00
} ,
"examples" : [
{
2022-07-13 22:08:48 +01:00
"dwelling_type" : "village" ,
"dweller_role" : "inhabitant" ,
2021-10-11 18:10:42 +02:00
"update_interval_base" : 0 ,
"update_interval_variant" : 0 ,
"preferred_profession" : "example" ,
"can_find_poi" : true ,
"can_migrate" : true ,
"first_founding_reward" : 0
}
]
2021-10-08 12:59:03 +02:00
}