Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/sniff.json

44 lines
1.5 KiB
JSON
Raw Normal View History

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"
},
"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."
}
}
}