CustomConnectedBlockTemplateAsset
Documentation for the CustomConnectedBlockTemplateAsset asset type.
Location
Item/CustomConnectedBlockTemplates
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/CustomConnectedBlockTemplateAsset.schema.json" Schema
DontUpdateAfterInitialPlacement
boolean
Default to false. When true, will not update the connected block after initial placement. Neighboring block updates won't affect this block when true.
ConnectsToOtherMaterials
boolean
Defaults to true. If true, the material will connect to other materials of different block type sets, if false, the material will only connect to its own block types within the material
DefaultShape
stringnull
Shapes objectnull
Additional properties: ConnectedBlockShape
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "CustomConnectedBlockTemplateAsset.json",
"title": "CustomConnectedBlockTemplateAsset",
"description": "CustomConnectedBlockTemplateAsset asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"DontUpdateAfterInitialPlacement": {
"type": "boolean",
"description": "Default to false. When true, will not update the connected block after initial placement. Neighboring block updates won't affect this block when true.",
"default": false
},
"ConnectsToOtherMaterials": {
"type": "boolean",
"description": "Defaults to true. If true, the material will connect to other materials of different block type sets, if false, the material will only connect to its own block types within the material",
"default": true
},
"DefaultShape": {
"type": [
"string",
"null"
]
},
"Shapes": {
"type": [
"object",
"null"
],
"additionalProperties": {
"$ref": "common.schema.json#/$defs/ConnectedBlockShape"
}
}
}
}