Skip to content

Commit

Permalink
Merge pull request #21 from JaylyDev/main
Browse files Browse the repository at this point in the history
Added subpacks definition
  • Loading branch information
DaanV2 authored Feb 20, 2022
2 parents 6777a21 + bece95d commit 31e61d3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions source/general/manifest/manifest.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
}
}
}
}

0 comments on commit 31e61d3

Please sign in to comment.