Refactored item
This commit is contained in:
37
source/behavior/items/format/components/repairable.json
Normal file
37
source/behavior/items/format/components/repairable.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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": "Repar Item",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"items": {
|
||||
"title": "Items",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
},
|
||||
"repair_amount": {
|
||||
"title": "Repair Amount",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "../../../../molang/number.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user