- Updates for 1.20.80 (#281)

This commit is contained in:
Xterionix
2024-04-29 18:22:36 +05:00
committed by GitHub
parent a8d687e660
commit f3c02e7e93
6 changed files with 117 additions and 5 deletions

View File

@@ -158,14 +158,48 @@
"drop_item_slot": {
"title": "Drop Item Slot",
"type": "string",
"description": "The entity's equipment slot to remove and drop the item from, if any, upon successful interaction.",
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"]
"examples": [
"slot.armor.head",
"slot.armor.chest",
"slot.armor.legs",
"slot.armor.feet"
],
"description": "The entity's equipment slot to remove and drop the item from, if any, upon successful interaction."
},
"equip_item_slot": {
"title": "Equip Item Slot",
"type": "string",
"description": "The entity's slot to equip the item to, if any, upon successful interaction. Inventory slots are denoted by positive numbers.",
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"]
"description": "The entity's equipment slot to equip the item to, if any, upon successful interaction.",
"examples": [
"slot.armor.head",
"slot.armor.chest",
"slot.armor.legs",
"slot.armor.feet"
]
},
"repair_entity_item": {
"title": "Repair Entity Item",
"type": "object",
"description": "Allows to repair one of the entity's items.",
"properties": {
"amount": {
"title": "Amount",
"description": "How much of the item durability should be restored upon interaction.",
"type": "integer",
"minimum": 0
},
"slot": {
"title": "Slot",
"description": "The entity's slot containing the item to be repaired.",
"type": "string",
"examples": [
"slot.armor.head",
"slot.armor.chest",
"slot.armor.legs",
"slot.armor.feet"
]
}
}
}
}
}