Updated filter reference

This commit is contained in:
DaanV2
2021-06-03 14:02:28 +02:00
parent f7d88464d1
commit 8481a485ba
74 changed files with 131 additions and 84 deletions

View File

@@ -37,7 +37,7 @@
"type": "object",
"properties": {
"add": { "title": "Add", "$ref": "#/definitions/addremove", "description": "The components groups to be added to this entity" },
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"randomize": { "type": "array", "$ref": "#/definitions/randomize" },
"remove": {
"title": "Remove",

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -5,7 +5,11 @@
"description": "Trigger to fire for 1.16.100",
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "TODO Title" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "TODO Title"
},
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false