Adding item components

This commit is contained in:
DaanV2
2021-01-03 18:59:21 +01:00
parent 8979b76808
commit 3b3d192154
22 changed files with 452 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
{
"$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"
}
}
}
}