Files
minecraft-bedrock-json-schemas/source/behaviour/loot_tables/functions/enchant_with_levels.json
2021-02-01 18:39:12 +01:00

45 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.enchant_with_levels",
"additionalProperties": false,
"description": "The function enchant_with_levels",
"title": "Enchant with levels",
"properties": {
"function": {
"type": "string",
"const": "enchant_with_levels",
"description": "TODO description",
"title": "TODO title"
},
"levels": {
"title": "Levels",
"oneOf": [
{
"type": "integer"
},
{
"type": "object",
"additionalProperties": false,
"required": ["min", "max"],
"properties": {
"min": {
"type": "integer",
"title": "Minimum"
},
"max": {
"type": "integer",
"title": "Maximum"
}
}
}
],
"description": "TODO description"
},
"treasure": {
"type": "boolean",
"title": "Treasure",
"description": "TODO description"
}
}
}