Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/behaviors/minecraft.behavior.look_at_target.json
2020-11-01 17:22:42 +01:00

43 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_target",
"type": "object",
"title": "Behavior.look_at_target 1.8.0",
"description": "Allows the mob to look at the entity they are targetting.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"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"
},
"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"
}
}
}