1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-21 20:46:28 +00:00
bedrock-samples/metadata/json_schemas/Digger v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

97 lines
3.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2499855414",
"definitions": {
"1899103179": {
"title": "struct SharedTypes::v1_20_50::DiggerItemComponent::BlockInfo",
"type": "object",
"properties": {
"block": {
"description": "Block to be dug.",
"$ref": "#/definitions/748032502"
},
"speed": {
"description": "Digging speed for the correlating block(s).",
"type": "integer"
}
},
"required": [
"block",
"speed"
],
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "BlockInfo v1.20.50"
}
},
"49501551": {
"title": "compound_proxy",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"748032502": {
"title": "struct SharedTypes::v1_20_50::BlockDescriptor",
"oneOf": [
{
"$ref": "#/definitions/970386766"
},
{
"type": "string",
"minLength": 1
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Block Descriptor v1.20.50"
}
},
"970386766": {
"title": "struct SharedTypes::v1_20_50::BlockDescriptorSerializer::BlockDescriptorProxy",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"states": {
"title": "associative container",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/49501551"
}
},
"tags": {
"type": "string"
}
}
}
},
"title": "minecraft:digger v1.20.50",
"description": "Digger item component specifies how quickly this item can dig specific blocks.",
"type": "object",
"properties": {
"destroy_speeds": {
"title": "sequence container",
"description": "A list of blocks to dig with correlating speeds of digging.",
"type": "array",
"items": {
"$ref": "#/definitions/1899103179"
}
},
"use_efficiency": {
"description": "Determines whether this item should be impacted if the efficiency enchantment is applied to it.",
"type": "boolean"
}
},
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Digger v1.20.50"
}
}