Skip to content

Commit

Permalink
Updating manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Aug 19, 2023
1 parent 35dd605 commit 7b5d18d
Showing 1 changed file with 48 additions and 20 deletions.
68 changes: 48 additions & 20 deletions source/general/manifest/manifest.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"title": "An UUID V4",
"description": "A valid UUID v4.",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"format": "uuid"
"format": "uuid",
"defaultSnippets": [
{
"label": "New UUID",
"body": "$UUID"
}
]
},
"version": { "$ref": "../Version.json" }
},
Expand All @@ -22,26 +28,42 @@
"description": "This defines the current version of the manifest. Don't change this unless you have a good reason to"
},
"capabilities": {
"type": "object",
"title": "Capabilities",
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
"properties": {
"experimental_custom_ui": {
"type": "boolean",
"description": "Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.",
"title": "Experimental Custom Ui"
},
"chemistry": {
"type": "boolean",
"description": "Allows the pack to add, change or replace Chemistry functionality.",
"title": "Chemistry"
"oneOf": [
{
"type": "array",
"minItems": 1,
"items": {
"enum": ["raytraced", "pbr", "script_eval", "editorExtension", "experimental_custom_ui", "chemistry"]
}
},
"raytraced": {
"type": "boolean",
"description": "Indicates that this pack contains Raytracing Enhanced or Physical Based Materials for rendering.",
"title": "Raytraced"
{
"type": "object",
"properties": {
"chemistry": {
"type": "boolean",
"description": "Allows the pack to add, change or replace Chemistry functionality.",
"title": "Chemistry"
},
"editorExtension": {
"type": "boolean",
"description": "Indicates that this pack contains extensions for editing.",
"title": "Editor Extension"
},
"experimental_custom_ui": {
"type": "boolean",
"description": "Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.",
"title": "Experimental Custom Ui"
},
"raytraced": {
"type": "boolean",
"description": "Indicates that this pack contains Raytracing Enhanced or Physical Based Materials for rendering.",
"title": "Raytraced"
}
}
}
}
]
},
"dependencies": {
"type": "array",
Expand All @@ -62,9 +84,9 @@
"title": "Uuid"
},
"version": {
"$ref": "#/definitions/version",
"title": "Version",
"description": "This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file",
"title": "Version"
"oneOf": [{ "$ref": "../Version.json" }, { "$ref": "../format_version.json" }]
}
}
},
Expand All @@ -78,13 +100,14 @@
"type": "string",
"description": "This is the name of the module that this pack depends on.",
"title": "Module Name",
"enum": [
"examples": [
"mojang-gametest",
"mojang-minecraft",
"mojang-minecraft-server-admin",
"mojang-minecraft-ui",
"mojang-net",
"@minecraft/server",
"@minecraft/server-editor",
"@minecraft/server-ui",
"@minecraft/server-gametest",
"@minecraft/server-admin",
Expand All @@ -108,6 +131,11 @@
"title": "Header",
"required": ["description", "name", "uuid", "version"],
"properties": {
"allow_random_seed": {
"title": "Allow Random Seed",
"type": "boolean",
"description": "This option is required for any world templates. This will allow the player to use a random seed when creating a new world from your template."
},
"base_game_version": {
"$ref": "#/definitions/version",
"title": "Base Game Version",
Expand Down

0 comments on commit 7b5d18d

Please sign in to comment.