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/EntityPlacer v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

85 lines
2.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "853889472",
"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": "minecraft:entity_placer v1.20.50",
"description": "The entity_placer item component specifies the blocks that the item can be placed on.",
"type": "object",
"properties": {
"dispense_on": {
"title": "sequence container",
"description": "List of block descriptors of the blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
"type": "array",
"items": {
"$ref": "#/definitions/748032502"
}
},
"entity": {
"description": "The entity to be placed in the world.",
"type": "string",
"minLength": 0,
"pattern": "^(?:\\w+(?:\\.\\w+)*:(?=\\w))?(?:\\w+(?:\\.\\w+)*)(?:<((?:\\w+(?:\\.\\w+)*:(?=\\w))?\\w+(?:\\.\\w+)*)*>)?$"
},
"use_on": {
"title": "sequence container",
"description": "List of block descriptors of the blocks that this item can be used on. If left empty, all blocks will be allowed.",
"type": "array",
"items": {
"$ref": "#/definitions/748032502"
}
}
},
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "EntityPlacer v1.20.50"
}
}