Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/block_placer.json

26 lines
976 B
JSON
Raw Normal View History

2022-06-07 20:42:18 +02:00
{
2022-07-20 21:25:32 +02:00
"$id": "blockception.minecraft.behavior.items.minecraft:block_placer",
2022-06-07 20:42:18 +02:00
"title": "Block Placer",
"description": "Planter item component. planter items are items that can be planted.",
"type": "object",
"additionalProperties": false,
"required": ["block"],
"definitions": {
"use_on_item": {
"type": "object",
"title": "Allowed Block",
"description": "A block descriptor that allows to be placed",
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } }
}
},
"properties": {
"block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Block" },
"use_on": {
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
"title": "Use On",
"type": "array",
"items": { "$ref": "#/definitions/use_on_item" }
}
}
}