Files
minecraft-bedrock-json-schemas/behaviour/items/1.16.100/components/minecraft.block_placer.json
2021-01-03 18:59:21 +01:00

39 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:block_placer",
"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": "../../../../general/molang/1.8.0/string.json"
}
}
}
},
"properties": {
"block": {
"type": "string",
"description": "Set the placement block name for the planter item.",
"title": "protection"
},
"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"
}
}
}
}