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

74 lines
2.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1899103179",
"definitions": {
"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": "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"
}
}