Add entity equipment object

This commit is contained in:
Misode
2019-10-05 17:37:02 +02:00
parent e9d5a2d65d
commit faeeb5bf34
2 changed files with 68 additions and 10 deletions
+58 -1
View File
@@ -705,7 +705,7 @@
"id": "slots",
"type": "set",
"translate": "$attribute_modifier.slots",
"translateValue": "$attribute_modifier.$slot",
"translateValue": "$slot",
"values": [
"mainhand",
"offhand",
@@ -814,6 +814,63 @@
}
]
},
{
"id": "equipment",
"type": "object",
"translate": "$entity.equipment",
"color": "dark",
"collapse": true,
"fields": [
{
"id": "mainhand",
"type": "object",
"translate": "$slot.mainhand",
"color": "dark",
"collapse": true,
"value": "item"
},
{
"id": "offhand",
"type": "object",
"translate": "$slot.offhand",
"color": "dark",
"collapse": true,
"value": "item"
},
{
"id": "head",
"type": "object",
"translate": "$slot.head",
"color": "dark",
"collapse": true,
"value": "item"
},
{
"id": "chest",
"type": "object",
"translate": "$slot.chest",
"color": "dark",
"collapse": true,
"value": "item"
},
{
"id": "legs",
"type": "object",
"translate": "$slot.legs",
"color": "dark",
"collapse": true,
"value": "item"
},
{
"id": "feet",
"type": "object",
"translate": "$slot.feet",
"color": "dark",
"collapse": true,
"value": "item"
}
]
},
{
"id": "effects",
"type": "map",