Posted May 19, 20196 yr Too much mob generation, include villager, skeleton, zombie,creeper, and villager register by mod. My server is Forge1.12.2, Sponge7.1.5 Is there any problem if I register a villager like this? Other than here, I can't think what the problem is. ``` @SubscribeEvent public void registerModel(RegistryEvent.Register<EntityEntry> event) { // event.getRegistry().register(); List<Biome> values = ForgeRegistries.BIOMES.getValues(); EntityRegistry.addSpawn(EntityVillager2.class, 1, 1, 1, EnumCreatureType.CREATURE, values.toArray(new Biome[values.size()])); } ```
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.