Add support for adding module dependencies (#118)
* Add support for adding module dependencies * auto: Generated Json Schemas Co-authored-by: Blockception Bot <Bot@Blockception.com>
This commit is contained in:
2
general/manifest.json
generated
2
general/manifest.json
generated
File diff suppressed because one or more lines are too long
@@ -46,8 +46,10 @@
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"title": "Dependencies",
|
||||
"description": "Section containing definitions for any other packs that are required in order for this manifest.json file to work.",
|
||||
"description": "Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Dependency",
|
||||
@@ -65,6 +67,34 @@
|
||||
"title": "Version"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Dependency",
|
||||
"description": "Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.",
|
||||
"properties": {
|
||||
"module_name": {
|
||||
"type": "string",
|
||||
"description": "This is the name of the module that this pack depends on.",
|
||||
"title": "Module Name",
|
||||
"enum": [
|
||||
"mojang-gamtest",
|
||||
"mojang-minecraft",
|
||||
"mojang-minecraft-server-admin",
|
||||
"mojang-minecraft-ui",
|
||||
"mojang-net"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "This is the specific version of the module that your pack depends on.",
|
||||
"title": "Version",
|
||||
"default": "1.0.0-beta"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
|
||||
Reference in New Issue
Block a user