I tried that. I'm not sure what the problem is. All of my mods use this exact same code with the COREUtil.modName<NUMBER> in them. I tried it without using my COREUtil like you mentioned above but it always looks the same in-game.
I've tried writing about 5 different ways and to no avail. I just can't comprehend why ALL 5 of my other mods this code works fine but this one doesn't.
@Mod(modid = COREUtil.modID5,
name = COREUtil.modName5,
version = COREUtil.versionNumber5,
dependencies = COREUtil.modDependancies5)
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class RebelSnowmenBase
{
public static boolean configFireArrows;
public static int configHealth;
@SidedProxy(
clientSide = COREUtil.proxyClient,
serverSide = COREUtil.proxyServer)
public static CommonProxy proxy;
@EventHandler
public void preModInit(FMLPreInitializationEvent event)
{
/**
* Handles configuration file
*/
Configuration config = new Configuration(event.getSuggestedConfigurationFile());
// loading the configuration from its file
config.load();
configFireArrows = config.get(Configuration.CATEGORY_GENERAL, "FIERY_ARROWS_AT_NIGHT", false).getBoolean(true);
configHealth = config.get(Configuration.CATEGORY_GENERAL, "SNOWMAN_MAX_HEALTH", 15).getInt();
// saving the configuration to its file
config.save();
}
@EventHandler
public void modInit(FMLInitializationEvent event)
{
/**
* Register MorphSnowman & Create Spawn Egg
*/
EntityRegistry.registerGlobalEntityID(EntityMorphSnowman.class, "RebelSnowman", EntityRegistry.findGlobalUniqueEntityId(), 0xFFFFFF, 0x000000);
EntityRegistry.registerModEntity(EntityMorphSnowman.class, "RebelSnowman", 3, this, 64, 3, true);
EntityRegistry.addSpawn(EntityMorphSnowman.class, 5, 1, 1, EnumCreatureType.monster, BiomeGenBase.taiga, BiomeGenBase.taigaHills);
LanguageRegistry.instance().addStringLocalization("entity."+COREUtil.modName5 +".EntityMorphSnowman.name", COREUtil.entityNameSnowman0);
}
@EventHandler
public void modsLoaded(FMLPostInitializationEvent event)
{
}
}