Updating molang examplesz
This commit is contained in:
@@ -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 }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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)"]
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
"title": "Molang",
|
||||
"description": "Molang definition",
|
||||
"format": "molang",
|
||||
"examples": ["query.variant"]
|
||||
"examples": ["query.variant", "(1.0)"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user