mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-24 13:56:16 +00:00
106 lines
3.6 KiB
JSON
106 lines
3.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "1658474219",
|
|
"definitions": {
|
|
"1531870811": {
|
|
"title": "struct SharedTypes::Legacy::ItemDescriptor",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "associative container",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_JSON_SCHEMA": "Item Descriptor"
|
|
}
|
|
},
|
|
"3178719147": {
|
|
"title": "struct SharedTypes::Legacy::ExpressionNode",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"expression": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"expression",
|
|
"version"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_JSON_SCHEMA": "Expression Node"
|
|
}
|
|
},
|
|
"3256164975": {
|
|
"title": "struct SharedTypes::v1_20_50::RepairableItemComponent::RepairItemEntry",
|
|
"oneOf": [
|
|
{
|
|
"title": "sequence container",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1531870811"
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"title": "sequence container",
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Repair v1.20.50"
|
|
}
|
|
}
|
|
},
|
|
"title": "minecraft:repairable v1.20.50",
|
|
"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": {
|
|
"title": "sequence container",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Repairable v1.20.50"
|
|
}
|
|
} |