Falling Leaves (NeoForge/Forge)

This mod for Minecraft version 1.16 and above creates a beautiful visual effect - falling leaf particles from foliage blocks. You can configure which specific types of leaves will shed particles and how often this occurs. It's important to note that this is a client-side mod that works only on the player's side.
This version is an adaptation of the original Falling Leaves mod for Fabric, where the graphical settings interface has been replaced with datapack usage.

Configuration Settings
All parameters are configured through the fallingleaves-client.toml file in the game's configuration folder:
- leafSize: adjusts the size of created leaf particles
- leafLifespan: determines how long particles remain visible before disappearing
- leafSpawnRate: controls the intensity of leaf appearance
- coniferLeafSpawnRate: separate setting for leaf frequency from coniferous trees
- dropFromPlayerPlacedBlocks: enables/disables the effect for player-placed blocks
- minimumFreeSpaceBelow: minimum free space below the block for the effect to appear
- disableWind: disables the wind effect for leaf particles
- windlessDimension: list of dimensions where the wind effect doesn't work
For Version 1.18
- seasonFallRate: modifiers for leaf fall intensity depending on seasons (compatibility with Serene Seasons mod)
Working with Datapacks
To define additional foliage types as coniferous (beyond preset values), you need to create a datapack following the pattern of built-in values. Create a file at the path data/modid/fallingleaves/blockname.json with the following structure:
{
"spawnrate": 1.0,
"isConifer": false
}
Where spawnrate determines the frequency of leaf appearance, and isConifer indicates whether the block belongs to coniferous species.