Hello there
I wanted to use the new "modder" version of forge and play around with it. Everything seems to work, but I have issues with entities: If I use only the method ModLoader.registerEntityID(...) and spawn the entity ingame, I can hear them, but I can't see them. Also I cannot kill them, except they manage to kill themselves (e.g. lava / falling sand). If they die, sometimes I get this error:
So I searched in the forge code and found this method:
EntityRegistry.registerModEntity(CSM_EntityClayMan.class, "CSM_EntityClayMan", 0, this, 64, 1, true);
If I use this method and spawn the entity in a new world, I got an error which says "Disconnected by Server: Internal Server error" with no detailed information. If I try to open that world again, it crashes with following error:
So apparently I'm doing something wrong, but I can't figure out what.
This is how my mod_ class looks like now:
BTW: all the entities are basically extending EntityCreature.
I hope you can help me with that. Thanks in advance.