{ "$id": "blockception.minecraft.behavior.items.minecraft:digger", "title": "Digger", "description": "Digger item. Component put on items that dig.", "type": "object", "additionalProperties": false, "required": ["destroy_speeds"], "properties": { "use_efficiency": { "title": "Use Efficiency", "type": "boolean", "description": "Toggles if the item will be used efficiently.", "default": false }, "destroy_speeds": { "type": "array", "title": "Destroy Speeds", "description": "Destroy speed per block.", "items": { "title": "Destroy Speed", "description": "Destroy speed per block.", "type": "object", "additionalProperties": false, "properties": { "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." }, "block": { "title": "Block", "oneOf": [ { "type": "string", "description": "The block identifier." }, { "type": "object", "additionalProperties": false, "description": "Block descriptor.", "properties": { "any_tag": { "type": "array", "title": "Any Block Tag", "description": "The block tag.", "items": { "type": "string", "title": "Block Tag" } } } } ] } } } }, "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds." } } }