mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-01 00:01:22 +00:00
77 lines
1.7 KiB
JSON
77 lines
1.7 KiB
JSON
{
|
|
"$id": "239137998",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"1527037515": {
|
|
"title": "Reference",
|
|
"type": "string"
|
|
},
|
|
"2770948419": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"states": {
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/517105782"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"tags": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"title": "BlockDescriptorProxy",
|
|
"type": "object"
|
|
},
|
|
"2794205495": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/2770948419"
|
|
},
|
|
{
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/2770948419"
|
|
}
|
|
],
|
|
"title": "Block Descriptor"
|
|
},
|
|
"517105782": {
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "boolean"
|
|
}
|
|
],
|
|
"title": "compound_proxy"
|
|
}
|
|
},
|
|
"description": "Items with the block_placer component will place a block when used.",
|
|
"properties": {
|
|
"block": {
|
|
"$ref": "#/definitions/1527037515",
|
|
"description": "Defines the block that will be placed."
|
|
},
|
|
"use_on": {
|
|
"description": "List of block descriptors of the blocks that this item can be used on. If left empty, all blocks will be allowed.",
|
|
"items": {
|
|
"$ref": "#/definitions/2794205495"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"block"
|
|
],
|
|
"title": "minecraft:block_placer",
|
|
"type": "object",
|
|
"x-format-version": "1.20.50"
|
|
} |