Posted November 2, 2024Nov 2 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)) } } } Edited November 2, 2024Nov 2 by the_BigGinge_nafe_innit12
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.