~kota/public-inbox

1

Snowy Trees only for Vanilla Trees / Fabric Seasons & Modded not working

Details
Message ID
<CAM3y1sYa=cFnBWDCESnFzN93_5Tr2Z_axs5aAM8RO6HLbMEGgw@mail.gmail.com>
DKIM signature
missing
Download raw message
Hey there,

so i have the Seasons Mod for Fabric 1.18.2 and when ist Winter snow falls.

But the snow under Trees only applies to Vanilla Trees and only in
Vanilla Winter Biomes…

It doesnt work when you place a Vanilla Tree and snow falls , the
ground is still not snowed up.

Could you do something like ( when snow falls on leaves, the snow
falls through too on the Ground )

So the snow would be ontop of leaves and under the leaves ( on the
ground ) ( for every leaves ( modded leaves too ))

~ SpigotDE
Details
Message ID
<CLX5QWDBDBLB.3HTB5RMEAT26P@agar>
In-Reply-To
<CAM3y1sYa=cFnBWDCESnFzN93_5Tr2Z_axs5aAM8RO6HLbMEGgw@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Hey! Yea I noticed that too actually. I play on a server with a few
friends and it's been bugging me for a while that the snow doesn't ever
replenish under the trees. The mod is very simplistic: it basically just
adds a hook when generating trees to check if the biome is "snowy" and
if so places snow on the ground.

What you're describing is totally possible. I figure I might even be
able to look at the code in https://modrinth.com/mod/puddles and it's
probably very similar to what I'd have to do.

Truth is I just haven't been playing too much MC the last few months. My
only computer right now is 12 years old and slow as dirt so continuing
to work on mods has been VERY painful haha! Buying a much nice computer
next month, but I might not be super be motivated to work on it until
then... Perhaps though! It would make the mod MUCH better.

If you wanted to take a crack at it before that I could certainly point
you in the right direction and explain how the code works now. I'd
probably start by downloading and compiling that puddles mod and playing
around with changing stuff like "isRaining" to "isSnowing" in this mixin:
https://github.com/TeamMidnightDust/Puddles/blob/main/src/main/java/eu/midnightdust/puddles/mixin/MixinServerWorld.java#L35
Reply to thread Export thread (mbox)