Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -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
}
]
}