Skip to content

Commit 7c732ab

Browse files
CopilotDaanV2
andauthored
Update manifest v3 subpack schema to require memory_performance_tier (#561)
* Initial plan * Fix manifest v3 subpacks to use memory_performance_tier Agent-Logs-Url: https://github.com/Blockception/Minecraft-bedrock-json-schemas/sessions/32f7eaf0-ec65-41ab-8f6d-9f8bcccda849 Co-authored-by: DaanV2 <2393905+DaanV2@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: DaanV2 <2393905+DaanV2@users.noreply.github.com>
1 parent 9f61a0d commit 7c732ab

4 files changed

Lines changed: 52 additions & 6 deletions

File tree

general/manifest.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/general/manifest/manifest.3.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,14 @@
282282
"subpacks": {
283283
"type": "array",
284284
"title": "Subpacks",
285-
"description": "A list of subpacks that are applied per memory tier.",
285+
"description": "A list of subpacks that are applied per memory performance tier.",
286286
"items": {
287287
"type": "object",
288288
"additionalProperties": false,
289289
"description": "A single definition of a subpack.",
290290
"title": "Subpacks",
291-
"required": ["folder_name", "name", "memory_tier"],
292-
"example": [{ "folder_name": "tier1", "name": "low", "memory_tier": 1 }],
291+
"required": ["folder_name", "name", "memory_performance_tier"],
292+
"example": [{ "folder_name": "tier1", "name": "low", "memory_performance_tier": 1 }],
293293
"properties": {
294294
"folder_name": {
295295
"type": "string",
@@ -301,9 +301,9 @@
301301
"description": "This is the name of the pack resolution. This lets user know what resolution they are choosing.",
302302
"title": "Name"
303303
},
304-
"memory_tier": {
304+
"memory_performance_tier": {
305305
"type": "number",
306-
"title": "Memory Tier",
306+
"title": "Memory Performance Tier",
307307
"description": "This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 256 MB."
308308
}
309309
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"format_version": 3,
3+
"header": {
4+
"name": "pack.name",
5+
"description": "pack.description",
6+
"uuid": "95a1126d-b998-4661-91d3-aa4e4fa48878",
7+
"version": [1, 0, 0]
8+
},
9+
"modules": [
10+
{
11+
"type": "data",
12+
"uuid": "20355327-5efb-49cd-b5e0-737cc0db1827",
13+
"version": [1, 0, 0]
14+
}
15+
],
16+
"subpacks": [
17+
{
18+
"folder_name": "subpack_1",
19+
"name": "High Quality",
20+
"memory_performance_tier": 2
21+
}
22+
]
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"format_version": 3,
3+
"header": {
4+
"name": "pack.name",
5+
"description": "pack.description",
6+
"uuid": "95a1126d-b998-4661-91d3-aa4e4fa48878",
7+
"version": [1, 0, 0]
8+
},
9+
"modules": [
10+
{
11+
"type": "data",
12+
"uuid": "20355327-5efb-49cd-b5e0-737cc0db1827",
13+
"version": [1, 0, 0]
14+
}
15+
],
16+
"subpacks": [
17+
{
18+
"folder_name": "subpack_1",
19+
"name": "High Quality",
20+
"memory_tier": 2
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)