1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-22 23:24:02 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

98 lines
3.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1658474219",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"2267778531": {
"title": "Molang string",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"expression": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"expression",
"version"
]
}
]
},
"3256164975": {
"title": "struct SharedTypes::v1_20_50::RepairableItemComponent::RepairItemEntry",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/1531870811"
}
},
{
"type": "object",
"properties": {
"items": {
"description": "Items that may be used to repair an item.",
"type": "array",
"items": {
"$ref": "#/definitions/1531870811"
}
},
"repair_amount": {
"description": "How much the item is repaired.",
"$ref": "#/definitions/3178719147"
}
},
"required": [
"items"
]
}
]
},
"1531870811": {
"title": "struct SharedTypes::Legacy::ItemDescriptor",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": {
"type": "string"
}
}
]
},
"3178719147": {
"title": "Molang expression",
"oneOf": [
{
"$ref": "#/definitions/2267778531"
},
{
"type": "number"
}
]
}
},
"title": "minecraft:repairable",
"description": "The repairable item component specifies which items can be used to repair this item, along with how much durability is gained.",
"type": "object",
"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.",
"type": "array",
"items": {
"$ref": "#/definitions/3256164975"
}
}
}
}