Leaves Us In Peace

Leaves Us In Peace

Mod

Leaf decay ignores different types of leaves and logs. Also fast leaf decay. Configurable.

Server Utility

25.8k downloads
118 followers
Created2 years ago
Updated8 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

This mod is for the Fabric mod loader and Minecraft Versions

Also works on Quilt!

Modrinth Downloads CurseForge Downloads

Requires Fabric API

Supports Cloth Config and Mod Menu for configuration, but neither is required.

Like this mod? Coindrop.to me or Buy me a coffee

Mod loader Fabric Mod loader Fabric

Discuss on Discord License MIT Source Code on GitLab gitlab issues

This mod is only required server-side: clients don't need it to connect to servers that have it. It also works in singleplayer.

Leaves Us in Peace

This mod aims to make leaf decay less frustrating.

It started out as a fork of Tfarcenim's LeafMeAlone, but then I overhauled it to the point of it being an almost entirely different mod.

It does 3 (+1) things to change how leaves decay, all configurable:

  1. Leaves will ignore leaves of a different type when determining whether to decay or not. By default, this will only match identical leaves (like in LeafMeAlone), but if a tag for leaves is found, all leaves in that tag will match. This is how the mod handles azaleas' two types of leaves. Mods (or mod users) can add compat for trees with multiple types of leaves by just adding a tag. Details on the wiki.
  2. Leaves will ignore logs from different tree types when determining whether to decay or not. This will look for a tag by the name of the log and check if it contains the leaves doing the check. If no tag is found, any log will match instead (like in vanilla). Details on the wiki.
  3. Leaves will decay much faster. This is basically like the fast leaf decay mods you've likely seen before. It's highly configurable, and uses an algorithm that can check for diagonal leaves, in addition to the usual check for adjacent leaves, so it's less likely to leave a stray leaf or two floating.
  • 3 + 1. This isn't convenient or less frustrating, but leaves can optionally make a block breaking sound and create particles when they decay.
Configuration

Configuration requires Cloth Config, and configuring the mod in-game requires Mod Menu.

Options:
  • Match leaves types (default: true): Leaves ignore leaves of other types when determining whether to decay or not
  • Match logs to leaves (default: true): Leaves ignore logs of other tree types when determining whether to decay or not
  • Ignore persistent leaves (default: true): Leaves ignore persistent leaves (placed by player) when determining whether to decay or not
  • Accelerate leaves decay (default: true): Make leaves decay much faster
  • Decay delay: Random delay between leaves decaying and updating nearby leaves. Has no effect if 'Accelerate leaves decay' is 'No'.
    • Minimum (default: 10): Minimum random delay. Set minimum equal to maximum to eliminate randomness.
    • Maximum (default: 60): Maximum random delay
  • Update diagonal leaves (default: true): When leaves decay, update leaves diagonal to them in addition to those adjacent to them
  • Do decaying leaves effects (default: false): create particles and sounds when leaves decay
  • Download translation updates (default: true): Download translations from Crowdin when the game launches
Credits

This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is CC0 1.0, however, so anyone else is free to port it.

I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.

External resources



Project members

supersaiyansubtlety

Owner


Technical information

License
CC0-1.0
Client side
unsupported
Server side
required
Project ID