1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-07 22:47:03 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.110/SniffGoalDefinition.json
2025-09-09 10:02:11 -07:00

61 lines
1.7 KiB
JSON

{
"$id": "1949055570",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1057349585": {
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"title": "FloatRange",
"type": "object"
}
},
"description": "Allows this entity to detect the nearest player within \"sniffing_radius\" and update its \"minecraft:suspect_tracking\" component state",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"cooldown_range": {
"$ref": "#/definitions/1057349585",
"description": "Cooldown range between sniffs in seconds Default value: [3.0, 10.0]."
},
"duration": {
"description": "Sniffing duration in seconds Default value: 1.",
"type": "number"
},
"priority": {
"minimum": 0,
"type": "integer"
},
"sniffing_radius": {
"description": "Mob detection radius Default value: 5.",
"type": "number"
},
"suspicion_radius_horizontal": {
"description": "Mob suspicion horizontal radius. When a player is within this radius horizontally, the anger level towards that player is increased Default value: 3.",
"type": "number"
},
"suspicion_radius_vertical": {
"description": "Mob suspicion vertical radius. When a player is within this radius vertically, the anger level towards that player is increased Default value: 3.",
"minimum": 1,
"type": "number"
}
},
"title": "minecraft:behavior.sniff",
"type": "object",
"x-format-version": "1.21.110"
}