Filled in descriptions

This commit is contained in:
DaanV2
2021-04-19 15:57:02 +02:00
parent b6a671314a
commit 8f16fa50df
17 changed files with 17587 additions and 95 deletions

View File

@@ -2,8 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.events.1.16.0",
"type": "object",
"title": "Entity 1.16.0",
"description": "TODO description:",
"title": "Events 1.16.0",
"description": "Events for entities 1.16.0",
"definitions": {
"addremove": {
"additionalProperties": false,
@@ -15,7 +15,7 @@
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
"items": { "type": "string", "description": "A reference to a component group", "title": "Component Groups" }
}
}
},
@@ -26,8 +26,8 @@
"items": {
"required": ["weight"],
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"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" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
}

View File

@@ -63,20 +63,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "Component Schema"
"title": "Component"
}
},
"components": {
"uniqueItems": true,
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "Component Schema"
"title": "Component"
},
"events": {
"uniqueItems": true,
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "Events Schema"
"title": "Events"
}
}
}