Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions source/behavior/blocks/format/components/support.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
@@ -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"]
}
}
}