Hi everyone,
I'm collecting data of the current weather, temperature, sunrise, sunset and so on via OpenWeatherMap API.
My goal is to let it snow if it's <= 0°C and only rain if it's > 0°C.
To achieve this my idea is to set the biome permanently to smoething snowy, like SNOWY_PLAINS and if it's > 0°C I just cancel the BlockFormEvent (only if snow is due to form of course). So snow layers won't be able to form if > 0°C, but the player still sees snow instead of rain.
Is it possible to just replace the biome in the clientbound packets to e.g. PLAINS, if it's > 0°C and if so, how is this done?
I'm collecting data of the current weather, temperature, sunrise, sunset and so on via OpenWeatherMap API.
My goal is to let it snow if it's <= 0°C and only rain if it's > 0°C.
To achieve this my idea is to set the biome permanently to smoething snowy, like SNOWY_PLAINS and if it's > 0°C I just cancel the BlockFormEvent (only if snow is due to form of course). So snow layers won't be able to form if > 0°C, but the player still sees snow instead of rain.
Is it possible to just replace the biome in the clientbound packets to e.g. PLAINS, if it's > 0°C and if so, how is this done?
Last edited: