CustomConnectedBlockPattern
Type
This field controls the type, it must be set to the constant value "Custom" to function as this type.
Type information: Constant value: Custom
TransformRulesToOrientation
If the rules should be transformed to the current orientation of the block.
Type information: Boolean defaults to: true
YawToApplyAddReplacedBlockType
Apply an additional Yaw to the resulting BlockType represented by this shape. This allows your replacement to be offset from your original placement
Type information:
(Nullable) Any one of the following String:
| Name | Description |
|---|---|
"None" | |
"Ninety" | |
"OneEighty" | |
"TwoSeventy" |
RequireFaceTagsMatchingRoll
Adds Roll comparison to face tag matching in patterns below
Type information: Boolean defaults to: false
AllowedPatternTransformations
Will create additional generated patterns that are variants of this pattern, but rotated/mirrored/flipped to achieve different results. A common example of this is the Fence, which should its resulting shape based on the rotation of its pattern (fence corner rotates depending on which two sides have the corner fence shape)
Type information:
(Nullable)
PatternRotationDefinition with the following properties:
| Key | Type | Description |
|---|---|---|
| IsCardinallyRotatable | Boolean defaults to: false | |
| MirrorZ | Boolean defaults to: false | |
| MirrorX | Boolean defaults to: false |
RulesToMatch
All rules must match in order for the pattern to match
Type information:
(Nullable) Array of the type: Queries the face the block was placed against
ConnectedBlockPatternRule with the following properties:
| Key | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Position | (Nullable)
Vector3i
| ||||||||||||||||||||||
| IncludeOrExclude | (Nullable) Any one of the following String:
IncludeOrExclude
| ||||||||||||||||||||||
| PlacementNormals | (Nullable) Array of the type: Any one of the following String:
AdjacentSide
| ||||||||||||||||||||||
| FaceTags | (Nullable)
ConnectedBlockFaceTags
| ||||||||||||||||||||||
| Shapes | (Nullable) Array of String | ||||||||||||||||||||||
| BlockTypes | (Nullable) Array of String | ||||||||||||||||||||||
| BlockTypeLists | (Nullable) Array of String |
OnlyOnPlacement
If true, this pattern will only be checked when the block is first placed.
Type information: Boolean defaults to: false
OnlyOnUpdate
If true, this pattern will only be checked when the block is updated by neighboring block changes.
Type information: Boolean defaults to: false
