Support single values for item components (#268)

This commit is contained in:
QuazChick
2024-05-11 10:24:22 +01:00
committed by GitHub
parent ffdf30a42d
commit 0ed8493085
12 changed files with 225 additions and 100 deletions

View File

@@ -2,11 +2,10 @@
"$id": "blockception.minecraft.behavior.items.minecraft:display_name",
"title": "Display Name",
"description": "Display Name item component. Display Names display the name of an item.",
"$comment": "Does not currently support single value parsing.",
"type": "object",
"additionalProperties": false,
"required": ["value"],
"properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } },
"examples": [
{ "value": "secret_weapon"}
]
"examples": [{ "value": "secret_weapon" }]
}