editor
editor copied to clipboard
Function schema: Support both "values" and "schemaReference" in single argument
This would help condense the function schema significantly, since commands like /loot would have half as many definitions in the schema
Can you share a code example of the syntax you'd like us to support, @Joelant05?
Basically I just want to be able to use schemaReference and values in the same command argument, e.g.
{
"additionalData": {
"schemaReference": "/data/packages/minecraftBedrock/schema/general/reference/identifiers.json#/definitions/item_identifiers",
"values": ["mainhand", "offhand"]
},
}
I've actually already implemented this locally, but haven't pushed it yet since I couldn't figure out a good way for the validator to support it.