Update look_at_player.json

#48
This commit is contained in:
ChibiMango
2022-07-13 21:22:02 +01:00
parent 1df85299cd
commit ed3464c5e6

View File

@@ -9,45 +9,45 @@
"$ref": "./types/priority.json" "$ref": "./types/priority.json"
}, },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"title": "Angle Of View Vertical",
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)", "description": "The angle in degrees that the mob can see in the X-axis (left-right)"
"title": "Angle Of View Vertical"
}, },
"angle_of_view_horizontal": { "angle_of_view_horizontal": {
"title": "Angle Of View Horizontal",
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)", "description": "The angle in degrees that the mob can see in the Y-axis (up-down)"
"title": "Angle Of View Horizontal"
}, },
"look_distance": { "look_distance": {
"title": "Look Distance",
"type": "number", "type": "number",
"default": 8.0, "default": 8.0,
"description": "The distance in blocks from which the entity will look at", "description": "The distance in blocks from which the entity will look at"
"title": "Look Distance"
}, },
"probability": { "probability": {
"title": "Probability",
"type": "number", "type": "number",
"default": 0.02, "default": 0.02,
"minimum": 0, "minimum": 0,
"description": "The probability of looking at the target. A value of 1.00 is 100%", "description": "The probability of looking at the target. A value of 1.00 is 100%"
"title": "Probability"
}, },
"look_time": { "look_time": {
"title": "Look Time",
"type": "array", "type": "array",
"default": [2, 4], "default": [2, 4],
"description": "Time range to look at the entity", "description": "Time range to look at the entity",
"title": "Look Time",
"items": [ "items": [
{ "type": "number", "title": "Minimum", "description": "The minimum amount of time to look" }, { "type": "number", "title": "Minimum", "description": "The minimum amount of time to look" },
{ "type": "number", "title": "Maximum", "description": "The maximum amount of time to look" } { "type": "number", "title": "Maximum", "description": "The maximum amount of time to look" }
] ]
}, },
"target_distance": { "target_distance": {
"title": "Target Distance",
"type": "number", "type": "number",
"description": "The distance to the target or less to be considered", "default": 6.0,
"$comment": "UNDOCUMENTED", "description": "The distance in blocks from which the entity will choose a target"
"title": "Target Distance"
} }
}, },
"examples": [ "examples": [
@@ -57,7 +57,7 @@
"look_distance": 8.0, "look_distance": 8.0,
"probability": 0.02, "probability": 0.02,
"look_time": [], "look_time": [],
"target_distance": 0.0 "target_distance": 6.0
} }
] ]
} }