Merge pull request #21 from JaylyDev/main

Added subpacks definition
This commit is contained in:
Daan Verstraten
2022-02-20 18:28:35 +01:00
committed by GitHub

View File

@@ -187,6 +187,36 @@
}
}
}
},
"subpacks": {
"type": "array",
"title": "Subpacks",
"description": "A list of subpacks that are applied per memory tier",
"items": {
"type": "object",
"additionalProperties": false,
"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",
"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 256 MB."
}
}
}
}
}
}