30 lines
1.0 KiB
JSON
30 lines
1.0 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.block_sensor",
|
|
"type": "object",
|
|
"title": "Block Sensor 1.8.0",
|
|
"description": "Fires off a specified event when a block in the block list is broken within the sensor range.",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"sensor_radius": { "type": "integer", "description": "UNDOCUMENTATED", "title": "Sensor Radius", "minimum": 0 },
|
|
"on_break": {
|
|
"type": "array",
|
|
"title": "On Break",
|
|
"items": {
|
|
"type": "object",
|
|
"title": "On Block Broken",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"block_list": {
|
|
"type": "array",
|
|
"title": "Block List",
|
|
"description": "UNDOCUMENTATED",
|
|
"items": { "type": "string", "title": "Block ID" }
|
|
},
|
|
"on_block_broken": { "type": "string", "title": "On Block Broken", "description": "On block broken" }
|
|
}
|
|
},
|
|
"description": "UNDOCUMENTATED"
|
|
}
|
|
}
|
|
}
|