Confirmedusers
261
edits
Line 18: | Line 18: | ||
== Properties == | == Properties == | ||
; <code>attachedToFaces</code>: (array of face codes, default : ["down"]) | ; <code>attachedToFaces</code>: (array of face codes, default : ["down"]) | ||
: The code | : The code for the variant group of the block that contains all of the facing codes. | ||
; <code>attachmentAreas</code>: (facing code -> RotatableCube) | ; <code>attachmentAreas</code>: (facing code -> RotatableCube) | ||
: The attachment area (part of the parent block that should be solid) for each face that the block can attach to. This field is optional. If a face is missing, then a null attachment area will be given to the parent block. Most parent blocks ignore the attachment area when deciding whether to accept an attachment. | : The attachment area (part of the parent block that should be solid) for each face that the block can attach to. This field is optional. If a face is missing, then a null attachment area will be given to the parent block. Most parent blocks ignore the attachment area when deciding whether to accept an attachment. | ||
{{Navbox/modding|Vintage Story}} | {{Navbox/modding|Vintage Story}} |