Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

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.

  • Author

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

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.

  • Author

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

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.

  • Author

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

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.

  • Author

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

thank you it works now :)

  • 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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.