So I am using the newest version of Minecraft Forge and trying to create a new entity which just overrides the existing wolf. I am able to get it working correctly using the old deprecated methods:
EntityRegistry.registerGlobalEntityID(HeroWolf.class, "Hero Wolf", EntityRegistry.findGlobalUniqueEntityId(), 6750105, 7859797);
EntityRegistry.registerModEntity(HeroWolf.class, "Hero Wolf", 0, this, 64, 3, true);
I have looked through lots of forums and tutorials, and they all say to use this instead:
EntityRegistry.registerModEntity(HeroWolf.class,"Hero Wolf", 0, this, 64, 20, true);
EntityRegistry.registerEgg(HeroWolf.class, 6750105, 7859797);
When I use the newer methods, the spawn egg shows up correctly, but when I go to use it (spawn the entity) it spawns a regular pig. So, what am I missing here? I'm assuming it has something do with an ID conflict and it defaults to a pig, so how do I get a unique ID or how do I fix that issue?
Thank you