Started by
kobolite
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, am very new to minecraft modding and i have a question,
so i made an biome which is an dense forest with very tall trees, i really want to make so villages spawn in that biome but i dont know how. i tried to use mcedit but mcedit doesn't work for me. is there another way to add villages to your custom biome, if not then that should be an option
Edited by kobolite on Wed, 10/25/2017 - 10:22
so is anyone gonna respond?
does anyone even care? i expected an response by now
You can't blame people just because they do not respond. Also, you should not bump thread two times in just two days.
Furthermore, you should provide more information. Do you want vanilla villages generate in your biome or you want custom villages to generate in your biome?
If it is the first , use BiomeManager.addVillageBiome in FMLInitializationEvent. The method takes two parameters - the first is an instance of Biome (or in older versions of Minecraft it is an instance of BiomeGenBase), the second parameter is a boolean. Here simply use the true value.
If it is the second, there are many different possible approaches, depending on your needs.
i still dont really understand
Basically go to Code, find your class for your biome. Once you open your class for your biome scroll down till you find public void load(FMLInitializationEvent event) { You should see 2 lines of code starting with Biome Manager. Paste this, BiomeManager.addVillageBiome(biome , true); , above BiomeManager.addSpawnBiome(biome); and there villages should spawn in your custom biome, now it may take a while to find one so to make it easier type /locate Village in game and it should give you cordinates to a village, it may not always be in your custom biome though
okay, the villages are spawning but how can i chnage the blocks of an village