57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.16.100.minecraft.behavior.look_at_player",
|
|
"type": "object",
|
|
"title": "Behavior.look_at_player 1.16.100",
|
|
"description": "Allows the mob to look at the player when the player is nearby.",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"priority": { "$ref": "types/base_priority.json" },
|
|
"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"
|
|
},
|
|
"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,
|
|
"minimum": 0,
|
|
"description": "The probability of looking at the target. A value of 1.00 is 100%",
|
|
"title": "Probability"
|
|
},
|
|
"look_time": {
|
|
"type": "array",
|
|
"default": [2, 4],
|
|
"description": "Time range to look at the entity",
|
|
"title": "Look Time",
|
|
"items": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
"target_distance": {
|
|
"type": "number",
|
|
"description": "UNDOCUMENTATED",
|
|
"title": "UNDOCUMENTATED"
|
|
}
|
|
}
|
|
}
|