- Some misc tweaks (#301)

* - Remove molang examples
* - Update has damage because apparently not every value is accepted
* - Add materials enum and adjust entity/attachable accordingly
* - Update damage source list
* - Change to example

---------

Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
Xterionix
2024-08-17 14:04:11 +05:00
committed by GitHub
parent 61ee5f0a2b
commit a84820d612
9 changed files with 324 additions and 63 deletions

View File

@@ -3,6 +3,6 @@
"title": "Molang Boolean",
"description": "The minecraft molang definition that results in a boolean.",
"anyOf": [{ "type": "string", "minLength": 0 }, { "type": "boolean" }],
"examples": [0, "query.variant", "(1.0)", "query.", "variable.=;"],
"examples": ["(1.0)", "(0.0)"],
"defaultSnippets": [{ "label": "New Molang", "body": "$1" }]
}

View File

@@ -3,6 +3,6 @@
"title": "Molang Number",
"description": "The minecraft molang definition that results in a float.",
"anyOf": [{ "type": "string", "minLength": 0 }, { "type": "number" }],
"examples": [0, "query.variant", "(1.0)", "query.", "variable.=;"],
"examples": ["(1.0)","(0.0)"],
"defaultSnippets": [{ "label": "New Molang", "body": "$1" }]
}