48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_entity",
|
||
|
|
"description": "Allows the mob to look at nearby entities.",
|
||
|
|
"type": "object",
|
||
|
|
"title": "Behavior.look_at_entity 1.8.0",
|
||
|
|
"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"
|
||
|
|
},
|
||
|
|
"filters": {
|
||
|
|
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||
|
|
"$ref": "../filters.json",
|
||
|
|
"title": "Filters"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|