Back to mods
Diagonal Leaves project artwork

Modrinth · Minecraft mod

Diagonal Leaves

Alters leaves' distance check's logic, allowing diagonal connections, too.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Diagonal Leaves release matches 26.1.2?

Updated last month
Best match for your filters 1.0.0-neoforge-26.1.2
Game version 26.1.2
Loader NeoForge

Diagonal Leaves 1.0.0-neoforge-26.1.2 targets 26.1.2 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Diagonal Leaves required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Diagonal Leaves 1.0.0-neoforge-26.1.2 need?

1.0.0-neoforge-26.1.2 on 26.1.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Diagonal Leaves without breaking your instance.

Built for Diagonal Leaves 1.0.0-neoforge-26.1.2 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0-neoforge-26.1.2. It targets 26.1.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0-neoforge-26.1.2. It opens that exact file at the source.

About this project

What does Diagonal Leaves add?

Diagonal Leaves

This mod is a utility for terrain mod-makers or map-makers which allows leaves to connect diagonally, preventing decay in scenarios like this without leaves being persistent:


IMAGE DESCRIPTION: An image showing a test case of an oak log and three oak leaves placed diagonally in a Minecraft world, comparing Minecraft's vanilla leaves and logs logic with the mod's. In vanilla, all leaves have distance seven, shown with red text, while with the mod the logs have distances two, four and six instead. shown with green text.


In vanilla (shown with red) the leaves never find any neighbours, so their distance is seven, while with the mod (shown in green) the distance is checked and increments by one for each axis-offset, meaning face connections increase distance by one, edge connections by two and corner connections by three.

Ok, cool but why, though?

Vanilla minecraft can be very annoying when it comes to creating naturally generating custom trees which stray from the vanilla style and more towards an airier, more realistic style.
Since vanilla only checks and propagates distance checks to leaves that are only face-adjacent, edge/vertex-adjacent leaves will be left out, which means they will decay unless set as persistent, but that means leaving the player with the task of manually cleaning them up.
This mod fixes this, although at the expense of making the loop run on all the 26 blocks surrounding the leaves instead of just the 6 face-adjacent ones.

Compatibility

All mods which implement leaves using the LeavesBlock class (or extending it without overriding its placement, removal and update methods) and logs based on the RotatedPillarBlock class (same caveat here if it extends it) properly tagged as "minecraft:logs" should work out of the box.

NOTE: This mod changes vanilla behaviour significantly. It may cause performance hits, and some of your builds (like leafstone) may break! You have been warned.

Project description from Modrinth.

Pick your setup

Diagonal Leaves by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Diagonal Leaves versions and loaders

2 of 14 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.