Separated Leaves Minecraft 1.20.1 Mod

Separated Leaves Minecraft 1.20.1 Mod

The Separated Leaves mod is a Minecraft 1.18.2-1.20.1 mod which makes leaves only stick to their own log type!

If you cut down a tree in Minecraft the leaves will slowly decay, but if the tree is attached to another tree they will remain hanging. This mod ensures that different types of trees can be distinguished from each other so you won't be left with some random birch leaves in your spruce tree.

At the time of writing the mod already has built-in compatiblity for some mods:

  • Atmospheric
  • Autumnity
  • Biomes o' Plenty
  • Ecologics
  • Environmental
  • Hex Casting
  • Malum
  • Oh The Biomes You'll Go
  • Premium Wood
  • Quark
  • Reqions Unexplored
  • The Twilight Forest
  • Upgrade Aquatic
  • Windswept

More mods will follow, but this mod is also data-driven so in the meantime you can add compatibility yourself! A guide to make a datapack can be found here.

Download the Separated Leaves mod.

Separated Leaves

Adding custom Leaves To add Leaves to the mod, first create a data pack (or use built-in resources from your own mod).In the data folder, create a folder with the name of the mod ID of the mod you are adding support for. In there, add a folder named separated_leaves. We will add the JSON files in there.

Don't know what the mod ID is? Look at the text before the ":" when hovering over the Leaves block with Advanced Tooltips enabled. For instance, the folders for atmospheric:morado_leaves would be data/atmospheric/separated_leaves. In there, add a JSON file for every tree type you want to support. You can name these whatever you want, but the name of the tree would make sense. So our file could be named morado.json.The file exists of two parts. The leaves list and the logs list. Inside the leaves list, add all Leaves that can connect to each other. In the logs list, add all Logs that all leaves from the leaves list can connect to.morado.json{ "leaves": ["atmospheric:morado_leaves", "atmospheric:flowering_morado_leaves"], "logs": ["#atmospheric:morado_logs"]}The lists accept both Blocks and Block Tags. You can even use both in the same list.

Almost every mod has got tags for their Log variants, but if such a tag does not exist, you can put the separate logs in the list yourself. As well as the default log, it should contain the stripped, wood and stripped wood variants of the log.It is important to make separate files for every tree, not every wood type. Oak and Azalea leaves can both connect to Oak Logs, but they should not be able to connect to wood through each other. Thus they should be split into two files.That should be it! If you did it properly, your game logs will include your files in the list that gets outputted when joining a world or running /reload.​You can also use the Python script that Unilock made to generate your files!

Great! Next, complete checkout for full access to CraftMC.
Welcome back! You've successfully signed in.
You've successfully subscribed to CraftMC.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.