auto: Formatted documents
This commit is contained in:
@@ -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" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user