You need to get the registered entity name for the other mob. Unfortunately, there isn't a consistent naming convention used by all mod authors (though most put the mod id at the beginning of the entity name). Fortunately (if you are playing Minecraft 1.8), use can use tab completion and the /summon command to find the entity name after a little trial and error. Otherwise, you'll either have to look at the mod sourcecode or dig through the Forge log to see the debug reports about entities being registered.
For example, if you have my Lootable Bodies mod, you'd use the command /scoreboard objectives add Mob stat.killEntity.lootablebodies_EntityLootableBody to count the number of corpses you disposed (note that I have not tested this command, but it should work if Minecraft scoreboards work for non-vanilla entities)
Rollback Post to RevisionRollBack
My mods: Base Metals, Power Advantage, Steam Advantage, Electric Advantage, Minecraft Mineralogy, Dr. Cyano's Lootable Bodies, Dr. Cyano's Wonderful Wands & Wizarding Robes
The Meaning of Life, the Universe, and Everything.
[p]Well, that kind of works. I did this code to load the entity, but the command /scoreboard objectives add Mob stat.killEntity.Andrew doesent work[/p]
EntityRegistry.registerGlobalEntityID(MyEntityMechne.class, "Andrew", EntityRegistry.findGlobalUniqueEntityId());[/p]
EntityRegistry.addSpawn(MyEntityMechne.class, 50, 1, 5, EnumCreatureType.monster, BiomeGenBase.desert); [/p]
registerEntityEgg(MyEntityMechne.class, (new Color(241, 239, 247)).getRGB(), (new Color(163, 157, 165)).getRGB());[/p]
[p]RenderingRegistry.registerEntityRenderingHandler(MyEntityMechne.class, new MyRenderMechne(new MyModelMechne(), 0.3F));[/p]