Here is a source code:
Code
if(this.config.enableWailers)
{
EntityRegistry.addSpawn(LostHeadEntity.class, 50, 1, 10, EnumCreatureType.monster, BiomeDictionary.getBiomesForType(Type.END));
}
In vanilla minecraft Wailer spawn only in "End" dimension. It seems, that newest TC dungeon has registered biome type as "Type.END" . Thus i decide to add spawn of Wailers only in biome named as original "End":
Code
BiomeGenBase[] biomes = BiomeDictionary.getBiomesForType(Type.END);
for(int i=0;i<biomes.length;i++)
{
if(biomes[i].biomeName.equals("Sky"))
{
if(this.config.enableWailers)
{
EntityRegistry.addSpawn(LostHeadEntity.class, 50, 1, 10, EnumCreatureType.monster, biomes[i]);
}
}
}
Display More
I'm 90% sure this will help.