1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-05 10:43:45 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

89 lines
2.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "857819254",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"2794205495": {
"title": "struct SharedTypes::Legacy::BlockDescriptor",
"oneOf": [
{
"$ref": "#/definitions/2770948419"
},
{
"type": "string",
"minLength": 1
},
{
"$ref": "#/definitions/2770948419"
}
]
},
"1493335182": {
"title": "struct SharedTypes::Reference<1>",
"oneOf": [
{
"type": "string"
},
{
"type": "string"
}
]
},
"2770948419": {
"title": "struct SharedTypes::Legacy::BlockDescriptorSerializer::BlockDescriptorProxy",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"states": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/517105782"
}
},
"tags": {
"type": "string"
}
}
},
"517105782": {
"title": "compound_proxy",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"title": "minecraft:block_placer",
"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.",
"type": "object",
"properties": {
"block": {
"description": "Defines the block that will be placed.",
"$ref": "#/definitions/1493335182"
},
"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.",
"type": "array",
"items": {
"$ref": "#/definitions/2794205495"
}
}
},
"required": [
"block"
]
}