diff --git a/source/behavior/blocks/format/components/support.json b/source/behavior/blocks/format/components/support.json new file mode 100644 index 00000000..f5deee49 --- /dev/null +++ b/source/behavior/blocks/format/components/support.json @@ -0,0 +1,16 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.support", + "title": "Support", + "description": "Defines the support shape of the block. Currently only allows for blocks to have the same shape as a Vanilla fence and Vanilla stair. To work with custom stairs, requires the use of minecraft:vertical_half and minecraft:cardinal_direction or minecraft:facing_direction which can be set through the minecraft:placement_direction block trait. Custom blocks without this component will default to unit cube support.", + "additionalProperties": false, + "type": "object", + "required": ["shape"], + "properties": { + "shape": { + "title": "Shape", + "description": "The type of support shape for this block.", + "type": "string", + "enum": ["fence", "stair"] + } + } +}