Custom mobs don't spawn in server.

Published by Smakced on
Status
Fixed
Issue description

My mobs spawn fine on the client, but on the server when I use the spawn egg nothing happens. My server and client are on the same forge versions, the mod file is in both the servers 'mods' folder and in the .minecraft 'mods' folder. Other than that I'm not sure what's going wrong. I tried to use the /summon command but my mobs aren't there. Vanilla mobs spawn like normal but mine don't. If there’s any logs I need to provide or extra information please let me know.

Issue comments

I have made a mod with one mob, added it to the server and joined the server with the client. In this client, I spawned the mob and it worked.

Please attach the workspace you have and please instruct me exactly how to reproduce this bug. Thanks.

Unfortunately I was unable to recreate the error I got in the log after many attempts. But I fixed the issue by clearing the workspace then importing the MCR file into a clean work space, now there is no more errors and it works.