Add item enchantments and stored_enchantments

This commit is contained in:
Misode
2019-10-09 11:19:29 +02:00
parent 456b21ace9
commit 990cd2c1a8
5 changed files with 69 additions and 3 deletions

View File

@@ -1076,6 +1076,39 @@
"id": "nbt",
"type": "nbt",
"translate": "$item.nbt"
},
{
"id": "enchantments",
"type": "array",
"translate": "enchantment",
"button": "field",
"values": "enchantment"
},
{
"id": "stored_enchantments",
"type": "array",
"translate": "stored_enchantment",
"button": "field",
"values": "enchantment"
}
]
},
{
"id": "enchantment",
"type": "object",
"color": "dark",
"fields": [
{
"id": "enchantment",
"type": "enum",
"translate": "$item.enchantment",
"translateValue": "$enchantment",
"values": "enchantments"
},
{
"id": "levels",
"type": "range",
"translate": "$item.levels"
}
]
},