66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.1.16.200.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": "Use efficiency? Default is set to false.",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|