Sometimes, when spawning an entity, it appears as a pig until it exits and re-enters the server.
Furthermore, after reloading the server, the model stops completely and does not work. When the model is summoned and then reloaded, if you try to hit the model, it exits from the server and displays an error message.
[Legacy attachment omitted]
And when reconnecting to the server, an unmodified pig is summoned instead of the model being applied
ps. I am using the model engine through an API without Mystic Mob. I would like to know how to prevent the model from spawning as the original entity (in the given example, a pig).