2022-06-07 20:42:18 +02:00
|
|
|
{
|
2022-07-20 21:25:32 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.items.minecraft:digger",
|
2022-06-07 20:42:18 +02:00
|
|
|
"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",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Toggles if the item will be used efficiently.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"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": {
|
2024-02-11 16:05:56 +05:00
|
|
|
"speed": { "title": "Speed", "type": "number" },
|
2022-06-07 20:42:18 +02:00
|
|
|
"block": {
|
|
|
|
|
"title": "Block",
|
|
|
|
|
"oneOf": [
|
2022-07-22 19:41:04 +02:00
|
|
|
{ "type": "string", "description": "The block identifier." },
|
2022-06-07 20:42:18 +02:00
|
|
|
{
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
2024-03-29 14:05:56 +05:00
|
|
|
"tags": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Block Tags",
|
|
|
|
|
"description": "The block tags.",
|
|
|
|
|
"examples": ["query.any_tag( 'stone', 'metal' )"]
|
2022-06-07 20:42:18 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-11 16:05:56 +05:00
|
|
|
}
|
2022-06-07 20:42:18 +02:00
|
|
|
}
|
|
|
|
|
}
|