All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Diagonal Leaves

Diagonal Leaves

by Lightdrew • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install Diagonal Leaves (Mod)

Diagonal Leaves by Lightdrew is verified for Fabric, Neoforge across Minecraft versions 1.21, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3 (latest release: 1.0.0-neoforge-26.3, file size: 116 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3) and platform (Fabric, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
  3. Move the downloaded Diagonal Leaves file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Neoforge
18d ago 1
26.2
Neoforge
18d ago 1
26.1.2
Neoforge
18d ago 1
1.21.11
Neoforge
18d ago 1
1.21.x
Neoforge
18d ago 1
26.3
Fabric
18d ago 1
26.2
Fabric
18d ago 1
26.1.2
Fabric
18d ago 1
1.21.11
Fabric
18d ago 1
1.21.x
Fabric
18d ago 1
26.2
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
1.21.1
Fabric
5mo ago 1
1.21.1
Neoforge
5mo ago 1
Diagonal Leaves Icon
Download Diagonal Leaves
Select game version
Select platform