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

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

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

@@ -6,7 +6,11 @@
"minProperties": 1,
"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": "Filters" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "Filters"
},
"target": { "$ref": "../../1.8.0/filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false