Updated lookat

This commit is contained in:
DaanV2
2021-06-24 17:32:47 +02:00
parent c726204646
commit 715b7a3f18
2 changed files with 9 additions and 9 deletions

View File

@@ -20,9 +20,9 @@
"title": "Look Cooldown"
},
"look_event": {
"type": "string",
"description": "The event identifier to run when the entities specified in filters look at this entity",
"title": "Look Event"
"title": "Look Event",
"$ref": "../types/event.json"
},
"search_radius": {
"type": "number",

View File

@@ -11,30 +11,30 @@
"$ref": "../types/range_number_type.json",
"default": [0.0, 0.0],
"description": "The range for the random amount of time during which the entity is `cooling down` and won't get angered or look for a target",
"title": "TODO Title"
"title": "Look Cooldown"
},
"look_event": {
"type": "string",
"description": "The event identifier to run when the entities specified in filters look at this entity",
"title": "TODO Title"
"title": "Look Event",
"$ref": "../types/event.json"
},
"mAllowInvulnerable": {
"AllowInvulnerable": {
"type": "boolean",
"default": false,
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets",
"title": "TODO Title"
"title": "Allow Invulnerable"
},
"searchRadius": {
"type": "number",
"default": 10,
"description": "Maximum distance this entity will look for another entity looking at it",
"title": "TODO Title"
"title": "Search Radius"
},
"setTarget": {
"type": "boolean",
"default": true,
"description": "If true, this entity will set the attack target as the entity that looked at it",
"title": "TODO Title"
"title": "Set Target"
}
}
}