Added snippets
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user