auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -9,7 +9,11 @@
"title": "States",
"description": "The block states",
"type": "object",
"additionalProperties": { "title": "State", "description": "A single state of a block", "oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }] }
"additionalProperties": {
"title": "State",
"description": "A single state of a block",
"oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }]
}
}
}
}

View File

@@ -13,7 +13,13 @@
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "const": 1, "type": "number", "title": "Format Version" } } }, "then": { "$ref": "./manifest/manifest.1.json" } },
{ "if": { "properties": { "format_version": { "const": 2, "type": "number", "title": "Format Version" } } }, "then": { "$ref": "./manifest/manifest.2.json" } }
{
"if": { "properties": { "format_version": { "const": 1, "type": "number", "title": "Format Version" } } },
"then": { "$ref": "./manifest/manifest.1.json" }
},
{
"if": { "properties": { "format_version": { "const": 2, "type": "number", "title": "Format Version" } } },
"then": { "$ref": "./manifest/manifest.2.json" }
}
]
}

View File

@@ -29,7 +29,11 @@
"description": "This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)",
"title": "UUID"
},
"version": { "$ref": "#/definitions/version", "description": "This is the version of your pack in the format [majorVersion, minorVersion, revision].", "title": "Version" },
"version": {
"$ref": "#/definitions/version",
"description": "This is the version of your pack in the format [majorVersion, minorVersion, revision].",
"title": "Version"
},
"min_engine_version": {
"type": "string",
"$ref": "#/definitions/version",

View File

@@ -85,13 +85,21 @@
"$ref": "#/definitions/version",
"description": "This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"
},
"name": { "title": "Name", "type": "string", "description": "This is the name of the pack as it appears within Minecraft. This is a required field." },
"name": {
"title": "Name",
"type": "string",
"description": "This is the name of the pack as it appears within Minecraft. This is a required field."
},
"uuid": {
"title": "UUID",
"$ref": "#/definitions/uuidv4",
"description": "This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"
},
"version": { "title": "Version", "$ref": "#/definitions/version", "description": "This is the version of your pack in the format [majorVersion, minorVersion, revision]." }
"version": {
"title": "Version",
"$ref": "#/definitions/version",
"description": "This is the version of your pack in the format [majorVersion, minorVersion, revision]."
}
}
},
"modules": {