From 70bea31f514c6fb6bc47fffe187b77e3da60ac8c Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Wed, 13 Jul 2022 21:22:52 +0100 Subject: [PATCH] Update random_look_around.json #42 --- .../format/behaviors/random_look_around.json | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/source/behavior/entities/format/behaviors/random_look_around.json b/source/behavior/entities/format/behaviors/random_look_around.json index 28316a34..4afe05a4 100644 --- a/source/behavior/entities/format/behaviors/random_look_around.json +++ b/source/behavior/entities/format/behaviors/random_look_around.json @@ -34,10 +34,28 @@ ] }, "look_distance": { - "description": "The distance in blocks from which the mob will look at", - "$comment": "UNDOCUMENTED", "title": "Look Distance", - "type": "number" + "description": "The distance in blocks from which the mob will look at", + "type": "number", + "default": 8.0 + }, + "probability": { + "title": "Probability", + "type": "number", + "default": 0.02, + "description": "The probability of looking at the target. A value of 1.00 is 100%." + }, + "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)" + }, + "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)" } }, "examples": [