103 lines
2.3 KiB
JSON
103 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.loot_tables.specific_enchants",
|
|
"additionalProperties": false,
|
|
"description": "The function specific_enchants",
|
|
"title": "Specific enchants",
|
|
"definitions": {
|
|
"IDEnchant": {
|
|
"type": "string",
|
|
"title": "ID enchantment",
|
|
"enum": [
|
|
"aqua_affinity",
|
|
"bane_of_arthropods",
|
|
"blast_protection",
|
|
"channeling",
|
|
"curse_of_binding",
|
|
"curse_of_vanishing",
|
|
"depth_strider",
|
|
"efficiency",
|
|
"feather_falling",
|
|
"fire_aspect",
|
|
"fire_protection",
|
|
"flame",
|
|
"fortune",
|
|
"frost_walker",
|
|
"impaling",
|
|
"infinity",
|
|
"knockback",
|
|
"looting",
|
|
"loyalty",
|
|
"luck_of_the_sea",
|
|
"lure",
|
|
"mending",
|
|
"multishot",
|
|
"piercing",
|
|
"projectile_protection",
|
|
"protection",
|
|
"punch",
|
|
"quick_charge",
|
|
"respiration",
|
|
"riptide",
|
|
"sharpness",
|
|
"silk_touch",
|
|
"smite",
|
|
"soul_speed",
|
|
"thorns",
|
|
"unbreaking"
|
|
]
|
|
},
|
|
"Enchant": {
|
|
"type": "object",
|
|
"title": "Enchantment",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/definitions/IDEnchant"
|
|
},
|
|
"level": {
|
|
"title": "Level",
|
|
"oneOf": [
|
|
{ "type": "integer", "title": "level" },
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{ "type": "integer", "title": "min" },
|
|
{ "type": "integer", "title": "max" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"properties": {
|
|
"function": {
|
|
"type": "string",
|
|
"const": "specific_enchants",
|
|
"description": "Specific enchants",
|
|
"title": "Specific enchants"
|
|
},
|
|
"enchants": {
|
|
"title": "Enchants",
|
|
"description": "A enchanting specification",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"$ref": "#/definitions/IDEnchant"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"$ref": "#/definitions/Enchant"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/Enchant"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|