2021-06-06 10:07:19 +00:00
{
"$id" : "blockception.minecraft.behavior.entities.1.16.0.minecraft.despawn" ,
"type" : "object" ,
"title" : "Despawn 1.16.0" ,
"description" : "Despawns the Actor when the despawn rules or optional filters evaluate to true." ,
"additionalProperties" : false ,
"properties" : {
"despawn_from_chance" : {
"type" : "boolean" ,
"default" : true ,
2021-06-19 15:05:41 +02:00
"description" : "Determines if `min_range_random_chance` is used in the standard despawn rules" ,
2021-06-06 10:07:19 +00:00
"title" : "Despawn From Chance"
} ,
"despawn_from_distance" : {
"type" : "object" ,
"additionalProperties" : false ,
2021-06-16 16:19:12 +02:00
"description" : "UNDOCUMENTED" ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-09 11:12:18 +02:00
"title" : "Despawn From Distance" ,
2021-06-06 10:07:19 +00:00
"properties" : {
"max_distance" : {
"type" : "integer" ,
"default" : 128 ,
"description" : "Maximum distance for standard despawn rules to instantly despawn the mob." ,
2021-07-01 16:42:21 +02:00
"title" : "Maximum Distance"
2021-06-06 10:07:19 +00:00
} ,
"min_distance" : {
"type" : "integer" ,
"default" : 32 ,
"description" : "Minimum distance for standard despawn rules to try to despawn the mob." ,
2021-07-01 16:42:21 +02:00
"title" : "Minimum Distance"
2021-06-06 10:07:19 +00:00
}
2021-06-09 11:12:18 +02:00
}
2021-06-06 10:07:19 +00:00
} ,
"despawn_from_inactivity" : {
"type" : "boolean" ,
"default" : true ,
2021-06-19 15:05:41 +02:00
"description" : "Determines if the `min_range_inactivity_timer` is used in the standard despawn rules." ,
2021-06-06 10:07:19 +00:00
"title" : "Despawn From Inactivity"
} ,
"despawn_from_simulation_edge" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Determines if the mob is instantly despawned at the edge of simulation distance in the standard despawn rules." ,
"title" : "Despawn From Simulation Edge"
} ,
"filters" : {
"$ref" : "../../filters/filters.json" ,
2021-07-01 16:56:10 +02:00
"description" : "The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored."
2021-06-06 10:07:19 +00:00
} ,
"min_range_inactivity_timer" : {
"type" : "integer" ,
"default" : 30 ,
"description" : "The amount of time in seconds that the mob must be inactive." ,
2021-07-01 16:42:21 +02:00
"title" : "Minimum Range Inactivity Timer"
2021-06-06 10:07:19 +00:00
} ,
"min_range_random_chance" : {
"type" : "integer" ,
"default" : 800 ,
"description" : "A random chance between 1 and the given value." ,
2021-07-01 16:42:21 +02:00
"title" : "Minimum Range Random Chance"
2021-06-06 10:07:19 +00:00
} ,
"remove_child_entities" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned." ,
"title" : "Remove Child Entities"
}
}
}