Posted October 26, 201213 yr 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?
October 26, 201213 yr 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.
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.