1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-26 05:45:18 +00:00
Files
2025-09-09 10:02:11 -07:00

81 lines
2.1 KiB
JSON

{
"$id": "857819254",
"$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. \nThis component can also be used instead of the \"minecraft:icon\" component to render the referenced block as the item icon.",
"properties": {
"block": {
"$ref": "#/definitions/1527037515",
"description": "Defines the block that will be placed."
},
"replace_block_item": {
"description": "If true, the item will be registered as the item for this block. This item will be returned by default when the block is broken/picked. Note: the identifier for this item must match the block's identifier for this field to be valid.",
"type": "boolean"
},
"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.21.40"
}