diff --git a/source/behavior/blocks/format/components/redstone_conductivity.json b/source/behavior/blocks/format/components/redstone_conductivity.json new file mode 100644 index 00000000..15e1e100 --- /dev/null +++ b/source/behavior/blocks/format/components/redstone_conductivity.json @@ -0,0 +1,22 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.redstone_conductivity", + "title": "Redstone Conductivity", + "description": "The basic redstone properties of a block; if the component is not provided the default values are used. Requires the Upcoming Creator Features experiment.", + "type": "object", + "additionalProperties": false, + "required": [ ], + "properties": { + "allows_wire_to_step_down": { + "title": "Allows Wire To Step Down", + "description": "Specifies if redstone wire can stair-step downward on the block.", + "type": "boolean", + "default": true + }, + "redstone_conductor": { + "title": "Redstone Conductor", + "description": "Specifies if the block can be powered by redstone.", + "type": "boolean", + "default": false + } + } +} \ No newline at end of file diff --git a/source/behavior/blocks/format/minecraft.block.json b/source/behavior/blocks/format/minecraft.block.json index aca864d2..c1ae2d55 100644 --- a/source/behavior/blocks/format/minecraft.block.json +++ b/source/behavior/blocks/format/minecraft.block.json @@ -5,7 +5,7 @@ "description": "A custom block definition.", "type": "object", "additionalProperties": false, - "required": ["description", "components"], + "required": [ "description", "components" ], "definitions": { "components_ref": { "type": "object", @@ -29,6 +29,7 @@ "minecraft:map_color": { "$ref": "./components/map_color.json" }, "minecraft:material_instances": { "$ref": "./components/material_instances.json" }, "minecraft:placement_filter": { "$ref": "./components/placement_filter.json" }, + "minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" }, "minecraft:selection_box": { "$ref": "./components/selection_box.json" }, "minecraft:transformation": { "$ref": "./components/transformation.json" }, "minecraft:custom_components": { "$ref": "./components/custom_components.json" }, @@ -77,7 +78,7 @@ "description": "The description for this block.", "type": "object", "additionalProperties": false, - "required": ["identifier"], + "required": [ "identifier" ], "properties": { "identifier": { "title": "Identifier", @@ -89,9 +90,9 @@ "title": "Menu Category", "description": "Specifies the menu category and group for the block, which determine where this block is placed in the inventory and crafting table container screens. If this field is omitted, the block will not appear in the inventory or crafting table container screens.", "type": "object", - "examples": [{ "category": "construction" }], + "examples": [ { "category": "construction" } ], "additionalProperties": false, - "required": ["category"], + "required": [ "category" ], "properties": { "category": { "$ref": "../../../general/vanilla/creative_category.json"