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.
I am creating a mod on forge 1.20.1 that makes Minecraft more wintery. I want to make it so that it always snows but I can't find how weather works in Minecraft. My plan was to check if it is raining, and if it is not in a biome that doesn't rain anyway, it instead snows. The fake code below is the logic I was thinking of.
public class Weather {
static void ontheground() {
// look at the block, starting from the build limit going down untill the block is not air
}
if(raining == true) {
if(biome != biometype.savana | biometype.desert) {
particle.render(snow)
place(Blocks.SNOW, ontheground, (x, y+1))
}
}
}
That log still says something is already bound to the port. If it's not showing anything running, perhaps there's a stale lock file or some other strange thing going on. If possible, perhaps a server reboot?
Recommended Posts
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.