Added support for gametest fields

This commit is contained in:
DaanV2
2022-06-07 19:45:18 +02:00
parent d1c88f41a4
commit 00e0afdf84

View File

@@ -128,10 +128,16 @@
}, },
"type": { "type": {
"type": "string", "type": "string",
"enum": ["resources", "data", "client_data", "interface", "world_template", "javascript"], "enum": ["resources", "data", "client_data", "interface", "world_template", "javascript", "script"],
"description": "This is the type of the module.", "description": "This is the type of the module.",
"title": "Type" "title": "Type"
}, },
"language": {
"type": "string",
"title": "Language",
"description": "The programming language to use",
"enum": ["javascript"]
},
"uuid": { "uuid": {
"$ref": "#/definitions/uuidv4", "$ref": "#/definitions/uuidv4",
"description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module", "description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module",