Added base examples
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
"type": "object",
|
||||
"title": "Lookat",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"allow_invulnerable": {
|
||||
"type": "boolean",
|
||||
@@ -12,7 +11,11 @@
|
||||
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.",
|
||||
"title": "Allow Invulnerable"
|
||||
},
|
||||
"filters": { "$ref": "../../filters/filters.json", "description": "Defines the entities that can trigger this component", "title": "Filters" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Defines the entities that can trigger this component",
|
||||
"title": "Filters"
|
||||
},
|
||||
"look_cooldown": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [0.0, 0.0],
|
||||
@@ -36,5 +39,12 @@
|
||||
"description": "If true, this entity will set the attack target as the entity that looked at it.",
|
||||
"title": "Set Target"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"allow_invulnerable": false,
|
||||
"search_radius": 10,
|
||||
"set_target": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user