{
    "multipart": [
        {   "apply": { "model": "spruce_fence_post" }},
        {   "when": { "north": "true" },
            "apply": { "model": "spruce_fence_side", "uvlock": false }
        },
        {   "when": { "east": "true" },
            "apply": { "model": "spruce_fence_side", "y": 90, "uvlock": false }
        },
        {   "when": { "south": "true" },
            "apply": { "model": "spruce_fence_side", "y": 180, "uvlock": false }
        },
        {   "when": { "west": "true" },
            "apply": { "model": "spruce_fence_side", "y": 270, "uvlock": false }
        },
		{   "when": { "north": "true", "west": "false", "south": "false", "east": "false" },
            "apply": [{ "model": "spruce_fence_end", "y": 180, "uvlock": false },{ "model": "spruce_fence_end2", "y": 180, "uvlock": false }]
        },
		{   "when": { "south": "true", "north": "false", "west": "false", "east": "false" },
            "apply": [{ "model": "spruce_fence_end", "uvlock": false },{ "model": "spruce_fence_end2", "uvlock": false }]
        },
		{   "when": { "west": "true", "north": "false", "south": "false", "east": "false" },
            "apply": [{ "model": "spruce_fence_end", "y": 90, "uvlock": false },{ "model": "spruce_fence_end2", "y": 90, "uvlock": false }]
        },
		{   "when": { "east": "true", "north": "false", "south": "false", "west": "false" },
            "apply": [{ "model": "spruce_fence_end", "y": 270, "uvlock": false },{ "model": "spruce_fence_end2", "y": 270, "uvlock": false }]
        }
    ]
}
