Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/repairable.json

35 lines
1.1 KiB
JSON
Raw Normal View History

2022-06-07 20:42:18 +02:00
{
2022-07-20 21:25:32 +02:00
"$id": "blockception.minecraft.behavior.items.minecraft:repairable",
2022-06-07 20:42:18 +02:00
"title": "Repairable",
"description": "Repairable item component: how much damage can this item repair, what items can repair it.",
"type": "object",
"additionalProperties": false,
"properties": {
"repair_items": {
"title": "Repair Items",
"description": "Repair item entries.",
"type": "array",
"items": {
"type": "object",
"title": "Repar Item",
"description": "List of repair item entries.",
2022-06-07 20:42:18 +02:00
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "Items that can be used to repeair it",
"$comment": "List of items",
2022-06-07 20:42:18 +02:00
"type": "array",
"items": { "type": "string", "title": "Item", "description": "Item identifier" }
2022-06-07 20:42:18 +02:00
},
"repair_amount": {
"title": "Repair Amount",
"description": "Amount that can be repaired",
2022-06-07 20:42:18 +02:00
"$ref": "../../../../molang/number.json"
}
}
}
}
}
}