This mod is a compatibility addon for Corpse and Dragon Survival.
It must present on both client and server.
1.21 version have built-in support of custom models for Aether Dragon, Griffin, Bee Queen and Desert Claw. You can reach out to me if you want to add built-in support of your custom model. It's better to add one or few separate 1-frame animations for death poses.
corpseAnimationMap - Here you can define poses for corpses. Each entry is a string that consist of two parts: dragon body types (central, eastern, etc.) and animations that will be used to take pose for any of these body types. Only first animation frame is used as a pose.type1;type2:anim1;anim2 - take pose from anim1 or anim2 for either body type1 or type2.