2024-01-06 23:05:55 +01:00
{
"$id" : "blockception.minecraft.behavior.entities.minecraft.behavior.sniff" ,
"additionalProperties" : false ,
"type" : "object" ,
"title" : "Sniff" ,
"description" : "Sniff compels this entity to detect the nearest player within \"sniffing_radius\" and update its minecraft:suspect_tracking component state." ,
"properties" : {
"priority" : {
"$ref" : "./types/priority.json"
} ,
2025-09-08 07:01:39 -05:00
"control_flags" : { "$ref" : "./types/control_flags.json" } ,
2024-01-06 23:05:55 +01:00
"cooldown_range" : {
"title" : "Cooldown Range" ,
"$ref" : "../../../../general/vectors/number2.json" ,
"default" : [ 3.0 , 10.0 ] ,
"description" : "Cooldown range between sniffs in seconds."
} ,
"duration" : {
"title" : "Duration" ,
"type" : "number" ,
"default" : 1.0 ,
"description" : "Sniffing duration in seconds"
} ,
"sniffing_radius" : {
"title" : "Sniffing Radius" ,
"type" : "number" ,
"default" : 5.0 ,
"description" : "Mob detection radius."
} ,
"suspicion_radius_horizontal" : {
"title" : "Suspicion Radius Horizontal" ,
"type" : "number" ,
"default" : 3.0 ,
"description" : "Mob suspicion horizontal radius. When a player is within this radius horizontally, the anger level towards that player is increased."
} ,
"suspicion_radius_vertical" : {
"title" : "Suspicion Radius Vertical" ,
"type" : "number" ,
"default" : 3.0 ,
"description" : "Mob suspicion vertical radius. When a player is within this radius vertically, the anger level towards that player is increased."
}
}
}