{
    "multipart": [
        {
            "when": {
                "OR": [
                    {
                        "north": "none",
                        "east": "none",
                        "south": "none",
                        "west": "none"
                    },
                    {
                        "north": "side|up",
                        "east": "side|up"
                    },
                    {
                        "east": "side|up",
                        "south": "side|up"
                    },
                    {
                        "south": "side|up",
                        "west": "side|up"
                    },
                    {
                        "west": "side|up",
                        "north": "side|up"
                    }
                ]
            },
            "apply": {
                "model": "block/redstone_dust_dot"
            }
        },
        {
            "when": {
                "OR": [
                    {
                        "north": "side|up"
                    },
                    {
                        "north": "none",
                        "east": "none",
                        "south": "side|up",
                        "west": "none"
                    }
                ]
            },
            "apply": {
                "model": "block/redstone_dust_side0"
            }
        },
        {
            "when": {
                "OR": [
                    {
                        "south": "side|up"
                    },
                    {
                        "north": "side|up",
                        "east": "none",
                        "south": "none",
                        "west": "none"
                    }
                ]
            },
            "apply": {
                "model": "block/redstone_dust_side_alt0"
            }
        },
        {
            "when": {
                "OR": [
                    {
                        "east": "side|up"
                    },
                    {
                        "north": "none",
                        "east": "none",
                        "south": "none",
                        "west": "side|up"
                    }
                ]
            },
            "apply": {
                "model": "block/redstone_dust_side_alt1",
                "y": 270
            }
        },
        {
            "when": {
                "OR": [
                    {
                        "west": "side|up"
                    },
                    {
                        "north": "none",
                        "east": "side|up",
                        "south": "none",
                        "west": "none"
                    }
                ]
            },
            "apply": {
                "model": "block/redstone_dust_side1",
                "y": 270
            }
        },
        {
            "when": {
                "north": "up"
            },
            "apply": {
                "model": "block/redstone_dust_up"
            }
        },
        {
            "when": {
                "east": "up"
            },
            "apply": {
                "model": "block/redstone_dust_up",
                "y": 90
            }
        },
        {
            "when": {
                "south": "up"
            },
            "apply": {
                "model": "block/redstone_dust_up",
                "y": 180
            }
        },
        {
            "when": {
                "west": "up"
            },
            "apply": {
                "model": "block/redstone_dust_up",
                "y": 270
            }
        }
    ]
}
