41 lines
1.9 KiB
JSON
41 lines
1.9 KiB
JSON
|
|
{
|
||
|
|
"$id": "blockception.minecraft.behavior.blocks.minecraft.redstone_producer",
|
||
|
|
"title": "Redstone Producer",
|
||
|
|
"description": "Allows the block to produce a redstone signal",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [ "power" ],
|
||
|
|
"properties": {
|
||
|
|
"power": {
|
||
|
|
"title": "Power",
|
||
|
|
"description": "The strength of the redstone signal produced by this block. Valid values are from 0 to 15, where 0 means no signal and 15 is the maximum signal strength.",
|
||
|
|
"type": "integer",
|
||
|
|
"minimum": 0,
|
||
|
|
"maxItems": 15
|
||
|
|
},
|
||
|
|
"strongly_powered_face": {
|
||
|
|
"title": "Strongly Powered Face",
|
||
|
|
"description": "The block touching this face will become strongly powered with the signal level strength of 'power'. Strongly powered blocks will power adjacent blocks. By default, the block will not strongly power any face.",
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string",
|
||
|
|
"enum": ["up", "down", "north", "south", "east", "west", "side", "all"]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"connected_faces": {
|
||
|
|
"title": "Connected Faces",
|
||
|
|
"description": "The list of faces that are considered connected to the circuit. If a face is not connected, it will not provide power to the block touching that face. By default, all faces are connected.",
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string",
|
||
|
|
"enum": ["up", "down", "north", "south", "east", "west", "side", "all"]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"transform_relative": {
|
||
|
|
"title": "Transform Relative",
|
||
|
|
"description": "If true, the `strongly_powered_face` and `connected_faces` properties will be rotated according to the `minecraft:transformation` component.",
|
||
|
|
"type": "boolean",
|
||
|
|
"default": false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|