diff --git a/source/resource/blocks.json b/source/resource/blocks.json index 77178f99..3aabb8f3 100644 --- a/source/resource/blocks.json +++ b/source/resource/blocks.json @@ -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,