Added snippets

This commit is contained in:
DaanV2
2020-11-17 09:56:41 +01:00
parent d3acaad5cb
commit 52503e904f
22 changed files with 406 additions and 33 deletions

View File

@@ -1,48 +1,33 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.render_controllers.json",
"examples": [
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.example": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ]
}
}
}
],
"type": "object",
"title": "Render Controllers",
"description": "TODO description",
"allOf": [
{
"if": {
"properties": {
"format_version": {
"type": "string",
"const": "1.8.0"
}
}
},
"then": {
"$ref": "1.8.0/render_controllers.json"
}
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/render_controllers.json" }
},
{
"if": {
"properties": {
"format_version": {
"type": "string",
"const": "1.10"
}
}
},
"then": {
"$ref": "1.10.0/render_controllers.json"
}
"if": {"properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/render_controllers.json" }
},
{
"if": {
"properties": {
"format_version": {
"type": "string",
"const": "1.10.0"
}
}
},
"then": {
"$ref": "1.10.0/render_controllers.json"
}
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/render_controllers.json" }
}
]
}