Files
minecraft-bedrock-json-schemas/source/behaviour/items/1.16.200/components/minecraft.repairable.json
2021-02-01 18:39:12 +01:00

44 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:repairable",
"title": "Repairable",
"description": "Repairable item component: how much damage can this item repair, what items can repair it.",
"type": "object",
"additionalProperties": false,
"properties": {
"on_repaired": {
"title": "On repaired",
"description": "Event that is called when this item has been repaired.",
"type": "object"
},
"repair_items": {
"title": "Repair items",
"description": "Repair item entries.",
"type": "array",
"items": {
"type": "object",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": {
"type": "string",
"title": "Item",
"description": "UNDOCUMENATED"
}
},
"repair_amount": {
"title": "Repair amount",
"description": "UNDOCUMENATED",
"$ref": "../../../../molang/1.8.0/number.json"
}
}
}
}
}
}