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