Posted March 1, 201411 yr I wanna port my 1.6.4 mod for 1.7.2 (1029), but setColor() doesn't work for biomes. Is that bug or this is my fault? //biome code public class BiomeGen extends BiomeGenBase { public BiomeGen(int par1) { super(par1); this.spawnableMonsterList.clear(); this.spawnableCreatureList.clear(); this.setColor(12705280); this.theBiomeDecorator.treesPerChunk = 3; this.waterColorMultiplier = 0x2167FF; this.setBiomeName("Autumn forest"); } } Interesting that waterColorMultiplier works clear.
March 1, 201411 yr Should work unless you are using the wrong color (hex). If you look into your BiomeGenBase you can look at the other biome's { .setColor(int) } Also, have you registered your Biome? If so, can I take a peek at it?
March 1, 201411 yr Author I used decimal value of hex color #c1de00. Registered biome this way public static final BiomeGenBase Autumn = (new BiomeGen(18));
March 2, 201411 yr Author Oh, forgot. I also tried to substitute vanilla biome colors, but it doesn't want to work too.
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.