1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-01 01:11:34 +00:00
Files
2025-09-09 10:02:11 -07:00

97 lines
2.3 KiB
JSON

{
"$id": "1658474219",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1531870811": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": {
"type": "string"
},
"type": "object"
}
],
"title": "Item Descriptor"
},
"2267778531": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"expression": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"expression",
"version"
],
"type": "object"
}
],
"title": "Molang string"
},
"3178719147": {
"oneOf": [
{
"$ref": "#/definitions/2267778531"
},
{
"type": "number"
}
],
"title": "Molang expression"
},
"3256164975": {
"oneOf": [
{
"items": {
"$ref": "#/definitions/1531870811"
},
"type": "array"
},
{
"properties": {
"items": {
"description": "Items that may be used to repair an item.",
"items": {
"$ref": "#/definitions/1531870811"
},
"type": "array"
},
"repair_amount": {
"$ref": "#/definitions/3178719147",
"description": "How much the item is repaired."
}
},
"required": [
"items"
],
"type": "object"
}
],
"title": "Repair"
}
},
"description": "The repairable item component specifies which items can be used to repair this item, along with how much durability is gained.",
"properties": {
"repair_items": {
"description": "List of repair item entries. Each entry needs to define a list of strings for `items` that can be used for the repair and an optional `repair_amount` for how much durability is gained.",
"items": {
"$ref": "#/definitions/3256164975"
},
"type": "array"
}
},
"title": "minecraft:repairable",
"type": "object",
"x-format-version": "1.20.50"
}