Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.200/components/minecraft.digger.json

46 lines
1.6 KiB
JSON
Raw Normal View History

2021-01-03 18:59:21 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:digger",
2021-01-03 18:59:21 +01:00
"title": "Digger",
"description": "Digger item. Component put on items that dig.",
"type": "object",
"additionalProperties": false,
"required": ["destroy_speeds"],
"properties": {
2021-03-21 15:18:38 +01:00
"use_efficiency": { "title": "Use Efficiency", "type": "boolean", "description": "Use efficiency? Default is set to false.", "default": "false" },
2021-01-03 18:59:21 +01:00
"destroy_speeds": {
"type": "array",
2021-03-21 15:18:38 +01:00
"title": "Destroy Speeds",
2021-01-03 18:59:21 +01:00
"description": "Destroy speed per block.",
"items": {
2021-03-21 15:18:38 +01:00
"title": "Destroy Speed",
2021-01-03 18:59:21 +01:00
"description": "Destroy speed per block.",
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"speed": { "title": "Speed", "description": "Speed", "type": "number" },
"on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" },
2021-01-03 18:59:21 +01:00
"block": {
"title": "Block",
"oneOf": [
2021-03-21 15:18:38 +01:00
{ "type": "string", "description": "The block identifier" },
2021-01-03 18:59:21 +01:00
{
"type": "object",
"additionalProperties": false,
"description": "Block descriptor",
2021-05-18 23:32:44 +02:00
"properties": {
"any_tag": {
"type": "array",
"title": "Any Block Tag",
"description": "The block tag",
"items": { "type": "string", "title": "Block Tag" }
}
}
2021-01-03 18:59:21 +01:00
}
]
}
}
}
}
}
}