2021-06-06 10:07:19 +00:00
|
|
|
{
|
2021-11-20 11:26:35 +01:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
2021-06-06 10:07:19 +00:00
|
|
|
"$id": "blockception.minecraft.manifest",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Manifest Schema",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "The minecraft manifest schema.",
|
2025-09-08 07:01:39 -05:00
|
|
|
"required": [ "format_version", "header" ],
|
2021-06-06 10:07:19 +00:00
|
|
|
"examples": [
|
|
|
|
|
{
|
2025-09-08 07:01:39 -05:00
|
|
|
"format_version": 3,
|
2023-11-28 19:52:40 +01:00
|
|
|
"header": {
|
|
|
|
|
"description": "pack.description",
|
|
|
|
|
"name": "pack.name",
|
|
|
|
|
"uuid": "UUID2",
|
2025-09-08 07:01:39 -05:00
|
|
|
"min_engine_version": [ 1, 20, 40 ],
|
|
|
|
|
"version": [ 1, 0, 0 ]
|
2023-11-28 19:52:40 +01:00
|
|
|
},
|
|
|
|
|
"modules": [
|
|
|
|
|
{
|
|
|
|
|
"type": "data",
|
|
|
|
|
"uuid": "UUID2",
|
2025-09-08 07:01:39 -05:00
|
|
|
"version": [ 1, 0, 0 ]
|
2023-11-28 19:52:40 +01:00
|
|
|
}
|
|
|
|
|
]
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
],
|
2021-11-05 11:18:28 +01:00
|
|
|
"defaultSnippets": [
|
|
|
|
|
{
|
|
|
|
|
"label": "New Manifest",
|
|
|
|
|
"body": {
|
2025-09-08 07:01:39 -05:00
|
|
|
"format_version": 3,
|
2023-11-28 19:52:40 +01:00
|
|
|
"header": {
|
|
|
|
|
"description": "pack.description",
|
|
|
|
|
"name": "pack.name",
|
|
|
|
|
"uuid": "$UUID",
|
2025-09-08 07:01:39 -05:00
|
|
|
"min_engine_version": [ 1, 20, 10 ],
|
|
|
|
|
"version": [ 1, 0, 0 ]
|
2023-11-28 19:52:40 +01:00
|
|
|
},
|
|
|
|
|
"modules": [
|
|
|
|
|
{
|
|
|
|
|
"type": "data",
|
|
|
|
|
"uuid": "$UUID",
|
2025-09-08 07:01:39 -05:00
|
|
|
"version": [ 1, 0, 0 ]
|
2023-11-28 19:52:40 +01:00
|
|
|
}
|
|
|
|
|
]
|
2021-11-05 11:18:28 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2021-06-06 10:07:19 +00:00
|
|
|
"allOf": [
|
|
|
|
|
{
|
2023-11-28 19:52:40 +01:00
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"format_version": {
|
|
|
|
|
"const": 1,
|
|
|
|
|
"type": "number",
|
|
|
|
|
"title": "Format Version"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-06 10:07:19 +00:00
|
|
|
"then": { "$ref": "./manifest/manifest.1.json" }
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-11-28 19:52:40 +01:00
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"format_version": {
|
|
|
|
|
"const": 2,
|
|
|
|
|
"type": "number",
|
|
|
|
|
"title": "Format Version"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-06 10:07:19 +00:00
|
|
|
"then": { "$ref": "./manifest/manifest.2.json" }
|
2025-09-08 07:01:39 -05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"format_version": {
|
|
|
|
|
"const": 3,
|
|
|
|
|
"type": "number",
|
|
|
|
|
"title": "Format Version"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"then": { "$ref": "./manifest/manifest.3.json" }
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|