DrZhark Posted October 26, 2012 Posted October 26, 2012 Hi I'm currently on Forge 4.2.5 I'm trying to control the spawn of vanilla mobs, using: EntityRegistry.removeSpawn(EntityCreeper.class, EnumCreatureType.monster); this used to work without issues with ModLoader: ModLoader.removeSpawn(EntityCreeper.class, EnumCreatureType.monster); However the entities are still spawning. I'm even calling that command frequently (every time after exiting menus)... any ideas? Quote
HoBoS_TaCo Posted October 26, 2012 Posted October 26, 2012 Try: EntityRegistry.removeSpawn(EntityCreeper.class, EnumCreatureType.monster, WorldType.base12Biomes); As far as I know you need to specify the biome/biomes, hence the WorldType.base12Biomes. Quote
DrZhark Posted October 27, 2012 Author Posted October 27, 2012 Hmm tried with your suggestion, but the creepers still spawn. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.