{
    "variants": {
        "part=head,facing=north": { "model": "block/bed/magenta_head" },
        "part=head,facing=east": { "model": "block/bed/magenta_head", "y": 90 },
        "part=head,facing=south": { "model": "block/bed/magenta_head", "y": 180 },
        "part=head,facing=west": { "model": "block/bed/magenta_head", "y": 270 },
        "part=foot,facing=north": { "model": "block/bed/magenta_foot" },
        "part=foot,facing=east": { "model": "block/bed/magenta_foot", "y": 90 },
        "part=foot,facing=south": { "model": "block/bed/magenta_foot", "y": 180 },
        "part=foot,facing=west": { "model": "block/bed/magenta_foot", "y": 270 }
    }
}