From ca768b92f5b86a441dd3b4cddb0846aac1eb46eb Mon Sep 17 00:00:00 2001 From: Jayly Date: Sun, 20 Feb 2022 12:01:46 +0000 Subject: [PATCH 1/3] define subpacks --- source/general/manifest/manifest.2.json | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/source/general/manifest/manifest.2.json b/source/general/manifest/manifest.2.json index 67c36af2..e0667033 100644 --- a/source/general/manifest/manifest.2.json +++ b/source/general/manifest/manifest.2.json @@ -187,6 +187,35 @@ } } } + }, + "subpacks": { + "type": "array", + "title": "Subpacks", + "description": "Section containing information regarding file variations which can then be chosen to apply to.", + "items": { + "type": "object", + "additionalProperties": false, + "description": "Section containing information regarding file variations which can then be chosen to apply to.", + "title": "Subpacks", + "required": ["folder_name", "name", "memory_tier"], + "properties": { + "folder_name": { + "type": "string", + "description": "This represents the folder name located in \"subpacks\" folder. When user select this resolution Minecraft loads the content inside the folder.", + "title": "Folder Name" + }, + "name": { + "type": "string", + "description": "This is the name of the pack resolution. This lets user know what resolution they are choosing.", + "title": "Name" + }, + "memory_tier": { + "type": "number", + "title": "Memory Tier", + "description": "This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 250 megabytes." + } + } + } } } } From 0f4233a3639d14fb27d92c59acf86476af335c28 Mon Sep 17 00:00:00 2001 From: Daan Verstraten Date: Sun, 20 Feb 2022 18:25:13 +0100 Subject: [PATCH 2/3] Update manifest.2.json --- source/general/manifest/manifest.2.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/general/manifest/manifest.2.json b/source/general/manifest/manifest.2.json index e0667033..a86fdb07 100644 --- a/source/general/manifest/manifest.2.json +++ b/source/general/manifest/manifest.2.json @@ -191,13 +191,14 @@ "subpacks": { "type": "array", "title": "Subpacks", - "description": "Section containing information regarding file variations which can then be chosen to apply to.", + "description": "A list of subpacks that are applied per memory tier", "items": { "type": "object", "additionalProperties": false, - "description": "Section containing information regarding file variations which can then be chosen to apply to.", + "description": "A single definition of a subpack", "title": "Subpacks", "required": ["folder_name", "name", "memory_tier"], + "example": [{"folder_name": "tier1", "name": "low", "memory_tier": 1}] "properties": { "folder_name": { "type": "string", @@ -212,7 +213,7 @@ "memory_tier": { "type": "number", "title": "Memory Tier", - "description": "This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 250 megabytes." + "description": "This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 256 MB." } } } From bece95dc4a8b622adb93a6879e19a53245229ba9 Mon Sep 17 00:00:00 2001 From: Daan Verstraten Date: Sun, 20 Feb 2022 18:26:12 +0100 Subject: [PATCH 3/3] Update manifest.2.json --- source/general/manifest/manifest.2.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/general/manifest/manifest.2.json b/source/general/manifest/manifest.2.json index a86fdb07..59949de2 100644 --- a/source/general/manifest/manifest.2.json +++ b/source/general/manifest/manifest.2.json @@ -198,7 +198,7 @@ "description": "A single definition of a subpack", "title": "Subpacks", "required": ["folder_name", "name", "memory_tier"], - "example": [{"folder_name": "tier1", "name": "low", "memory_tier": 1}] + "example": [{"folder_name": "tier1", "name": "low", "memory_tier": 1}], "properties": { "folder_name": { "type": "string",