Updating molang examplesz

This commit is contained in:
DaanV2
2021-11-09 18:10:15 +01:00
parent d0c604282e
commit 15ae3c3fd9
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
{
"title": "Molang Array Of 3 Numbers",
"description": "The minecraft molang definition that results in a 3 floats",
"anyOf": [{ "type": "string", "minLength": 0 }]
"items": [
{ "$ref": "./number.json", "minLength": 0 },
{ "$ref": "./number.json", "minLength": 0 },
{ "$ref": "./number.json", "minLength": 0 }
]
}

View File

@@ -3,5 +3,5 @@
"title": "Molang Number",
"description": "The minecraft molang definition that results in a float",
"anyOf": [{ "type": "string", "minLength": 0 }, { "type": "number" }],
"examples": [0, "query.variant"]
"examples": [0, "query.variant", "(1.0)"]
}

View File

@@ -4,5 +4,5 @@
"title": "Molang",
"description": "Molang definition",
"format": "molang",
"examples": ["query.variant"]
"examples": ["query.variant", "(1.0)"]
}