I am unable to spawn my own entity with it's spawn egg and /summon command. Code here. EntityJayGarrick is located in entity/heroes, RenderJayGarrick is located in client/render, ModelJayGarrick is located in client/models/entity and HeroesEntities is located in init. Main and proxies are located in client.
I changed the string to "jay_garrick" and tried the command, it didn't work, "unable to summon object. I've updated my entity registration class on Github
It appears that I had to register the RenderingRegistry#registerEntityRenderingHandler's IRenderFactory method in my preInit ClientProxy and not the init ClientProxy.
I am unable to spawn my own entity with it's spawn egg and /summon command. Code here. EntityJayGarrick is located in entity/heroes, RenderJayGarrick is located in client/render, ModelJayGarrick is located in client/models/entity and HeroesEntities is located in init. Main and proxies are located in client.
you're registering your entity as "jay gerrick", it should either be "jayGarrick" or "jay_garrick". don't use two words separate words.
I changed the string to "jay_garrick" and tried the command, it didn't work, "unable to summon object. I've updated my entity registration class on Github
Maybe try calling the HeroesEntities#register method in the init method instead of the preInit of your main mod file.
I did the change and edited my entity class and it's spawning villager instead of my own entity.
It appears that I had to register the RenderingRegistry#registerEntityRenderingHandler's IRenderFactory method in my preInit ClientProxy and not the init ClientProxy.