跳到正文

Shatter Leaves

作者:Xeonz

ShatterLeaves instantly decays leaves when a tree is chopped . It fully supports modded trees, protects player placed leaves, and features a configurable decay delay via /gamerule . Say goodbye to floating trees!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

🌿 ShatterLeaves :  Instant Leaf Decay

Ever get annoyed waiting for leaves to disappear after cutting a tree?

ShatterLeaves fixes that. The moment leaves lose connection to logs, they decay almost instantly no more hanging around waiting for random ticks to do their thing.

It’s a small change, but it makes chopping trees feel way better.

⚡ Features

Near-instant leaf decay (default: 1 tick)
Configurable delay (1–20 ticks)
Works with vanilla + most modded trees
Respects player-placed (persistent) leaves
Simple game rule configuration
Safe for servers and modpacks

⚙️ Configuration

Uses game rules, so it’s super easy to tweak:

ENABLED → turn the mod on/off
DELAY → how fast leaves decay (1–20 ticks)

You can change these with commands using:

/gamerule instant_leaf_decay_delay (1-20)

/gamerule instant_leaf_decay_enabled (true/false)

🛠️ Technical Notes (for those who care)

Hooks into leaf updates when they lose log connection
Detects standard decay conditions (distance ≥ 7, not persistent)
Schedules a controlled tick instead of relying on random ticks
Drops items normally, then removes the block

No new content added just improves vanilla behavior.

📦 Compatibility

Works in singleplayer and multiplayer
Supports modded leaves that follow standard behavior
Lightweight and safe for large modpacks

📜 License

MIT use it however you want in modpacks or projects.

👤 Author

Xeonz
Version 1.0.0

💬 Final Note

This is one of those mods you don’t really think about until you remove it and suddenly trees feel slow again.

常见问题

Shatter Leaves 支持哪些 Minecraft 版本?

Shatter Leaves 支持 Minecraft Java 版 1.21.11–26.1.1,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Shatter Leaves 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Xeonz 的其他作品

查看全部 →