Posted September 18, 201411 yr Ok, so I have one problem left with my mod after updating it from 1.6.4, and that is biomes. I have been pushing it back for a while since I have researched for a while and I couldn't find anything. So anyways in my declaration section all I have is public static BiomeGenBase NioBiome; and in the load section I have NioBiome = new NioBiome(100); BiomeManager.desertBiomes.add(new BiomeEntry(NioBiome, 100)); and in my class file I have package mymod.biome; import net.minecraft.block.Block; import net.minecraft.entity.monster.EntityCreeper; import net.minecraft.entity.monster.EntityEnderman; import net.minecraft.entity.monster.EntityGiantZombie; import net.minecraft.init.Blocks; import net.minecraft.world.biome.BiomeGenBase; public class NioBiome extends BiomeGenBase { public NioBiome(int par1) { super(par1); this.setBiomeName("The Nio"); this.topBlock = (Block)Blocks.redstone_block; this.fillerBlock = (Block)mymod.main.Main.MyBlock_2; this.theBiomeDecorator.treesPerChunk = 8; this.theBiomeDecorator.bigMushroomsPerChunk = 15; this.theBiomeDecorator.generateLakes = true; this.spawnableCreatureList.add(new SpawnListEntry(EntityCreeper.class, 20, 5, 15)); this.spawnableCreatureList.add(new SpawnListEntry(EntityEnderman.class,15, 8, 12)); this.spawnableCreatureList.add(new SpawnListEntry(EntityGiantZombie.class,20, 1, 5)); this.setMinMaxHeight(0.9F, 1.3F); this.setTemperatureRainfall(0.5F, 1.0F); } private void setMinMaxHeight(float f, float g) { // TODO Auto-generated method stub } } If there is a way to add biomes without having to create a new world type please let me know! Thanks in advance!
September 18, 201411 yr Author What you have should suffice. I cant find anything, even if I remove all other biomes
September 19, 201411 yr Author Try with it not being a desert biome. Ok I finally found my biome, but the filler block is not there and it is not the height I would like it to be
September 19, 201411 yr Author Try with it not being a desert biome. Ok I finally found my biome, but the filler block is not there and it is not the height I would like it to be Ok fixed everything, just used already set heights and I wasn't loading the biomes in pre init
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.