Jump to content

[1.7.10] No-Snow Cold biome


hilburn

Recommended Posts

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

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.