Fixes incorrect snow generation on tree leaves MC-119599
This mod is a multiloader port of Simple Snowy Fix (fabric) by Apollo.
Differences with original mod:
In Minecraft 1.12 and later, snow often doesn’t fully cover tree leaves in snowy biomes, including modded ones, making trees look bad—especially large modded ones.
It's because of a Vanilla bug, MC-119599. When terrain is generated chunk by chunk, snow is placed in a chunk before trees are added in neighboring chunks. If a tree’s leaves from a chunk generated later extend into a chunk generated earlier, the snow in the earlier chunk ends up under those leaves because it was already placed before the leaves appeared.
This very simple mod fixes this issue. No dependencies, just drop it in and it works.
If you have any questions, feel free to join my Discord server: https://discord.gg/Qp2PKbtnp6
By default, it just fixes the bug. However, if you want snow to also generate on leaves under other leaves, you can enable this feature in the mod config (If you want snow biomes to look snowier).
It should work out of the box with most worldgen mods that add new snowy biomes.
Tested:
If a mod implements trees in some cursed way, it might require a patch. Feel free to open an issue. It won't create problems. If there is some compatibility issue, the fix just won't apply to those biomes.
Very well, you will notice no difference. It takes less than an additional 100ms (0.1s) to generate a 32-chunk radius of snowy biome with a lot of leaves. This was profiled directly from the code, ensuring 100% accuracy.
If you want a more perfect snow experience, I suggest also using these mods:


Note: Screenshots were taken with the Snow Under Trees and Snow! Real Magic! ⛄ mods installed.
Conversation