Jump to content

Recommended Posts

Posted

Just change the temperature from the Biome you want below value 2.0F

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

and without editing a base file?

 

It is w/o editing any base file! Just make a main mod class, and put this line into your @Init method:

BiomeGenBase.swampland.temperature = 0.0F;
BiomeGenBase.swampland.setEnableSnow();

 

Where swampland can be any vanilla biome.

 

Anyway, my previous post is a bit wrong. You see above you have to set the temperature to 0F and enable snowfall.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

and without editing a base file?

 

It is w/o editing any base file! Just make a main mod class, and put this line into your @Init method:

BiomeGenBase.swampland.temperature = 0.0F;
BiomeGenBase.swampland.setEnableSnow();

 

Where swampland can be any vanilla biome.

 

Anyway, my previous post is a bit wrong. You see above you have to set the temperature to 0F and enable snowfall.

 

thank you so much and maybe an idea to let it snow constently?

 

Edit: it doesn't work because setEnableSnow is a protected method

Edit 2 : just changing the temp is enough in plains so i think every where

Posted

Which Forge do you use? The method is public for me (on Forge 6.3.0.372)

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

Which Forge do you use? The method is public for me (on Forge 6.3.0.372)

 

6.0.1.341 but the snowing workings now all the downfall is snow just changing the temp did the trick

but how do i let i snow constantly

Posted

Which Forge do you use? The method is public for me (on Forge 6.3.0.372)

 

6.0.1.341 but the snowing workings now all the downfall is snow just changing the temp did the trick

but how do i let i snow constantly

 

You would have to make it rain constantly which, of course, applies for all biomes then.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

Which Forge do you use? The method is public for me (on Forge 6.3.0.372)

 

6.0.1.341 but the snowing workings now all the downfall is snow just changing the temp did the trick

but how do i let i snow constantly

 

You would have to make it rain constantly which, of course, applies for all biomes then.

 

oke but where sould i put the code i know how to do it with a block but i dont know where i sould put the code

Posted

Make a tick handler and put the constant-rain code in there. It should be called server-side.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

  • 3 weeks later...

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.