From ed3464c5e692f7b2a34629cebea22cc5ba1f3404 Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Wed, 13 Jul 2022 21:22:02 +0100 Subject: [PATCH] Update look_at_player.json #48 --- .../format/behaviors/look_at_player.json | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source/behavior/entities/format/behaviors/look_at_player.json b/source/behavior/entities/format/behaviors/look_at_player.json index e0bc2780..62bc6979 100644 --- a/source/behavior/entities/format/behaviors/look_at_player.json +++ b/source/behavior/entities/format/behaviors/look_at_player.json @@ -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 } ] }