Posted September 19, 201411 yr Currently having a problem with a custom biome - It is supposed to not have any weather at all, enableRain and enableSnow are both set to false, rainfall is set to 0. However I'm still having snow appearing on the top level of the ground without any weather having occurred. Is there any way to prevent this happening while keeping a cold temperature, as I need to have water freezing as a mechanic in this biome. Any advice would be appreciated
September 19, 201411 yr Hi I'd suggest you search vanilla for usage of Blocks.snow_layer, put a breakpoint on each of those lines, and find out which one is placing the undesired snow. Then hunt back through the vanilla to find a way to stop it. For example WorldServer.func_147456_g():: this.theProfiler.endStartSection("iceandsnow"); if (provider.canDoRainSnowIce(chunk) && this.rand.nextInt(16) == 0) { this.updateLCG = this.updateLCG * 3 + 1013904223; i1 = this.updateLCG >> 2; j1 = i1 & 15; k1 = i1 >> 8 & 15; l1 = this.getPrecipitationHeight(j1 + k, k1 + l); if (this.isBlockFreezableNaturally(j1 + k, l1 - 1, k1 + l)) { this.setBlock(j1 + k, l1 - 1, k1 + l, Blocks.ice); } if (this.isRaining() && this.func_147478_e(j1 + k, l1, k1 + l, true)) { this.setBlock(j1 + k, l1, k1 + l, Blocks.snow_layer); // here } -TGG
September 19, 201411 yr Author Thank you very much, I can't believe I didn't think of doing that - Solved it
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.