Fixed format_version
This commit is contained in:
@@ -26,7 +26,30 @@
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\w_\\-:\\.]+$" },
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../general/format_version.json" }
|
||||
"format_version": {
|
||||
"oneOf": [
|
||||
{ "$ref": "../general/format_version.json" },
|
||||
{
|
||||
"title": "Format Version",
|
||||
"description": "A version that tells Minecraft what type of data format can be expected when reading this file.",
|
||||
"type": "array",
|
||||
"default": [1, 1, 0],
|
||||
"examples": [[1, 1, 0]],
|
||||
"items": {
|
||||
"type": "integer"
|
||||
},
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"uniqueItems": false,
|
||||
"defaultSnippets": [
|
||||
{
|
||||
"label": "New Format version",
|
||||
"body": [1, 1, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
|
||||
Reference in New Issue
Block a user