跳到正文

Fast Leaf Decay Datapack, Treetops Clear in Seconds

作者:MD22

Floating treetops are gone seconds after the last log breaks. Vanilla drops, placed leaves untouched, nothing to set up. Server-side datapack.

收藏

截图

介绍

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

Fast Leaf Decay

Chop a tree and the floating crown is cleared away in a few seconds instead of minutes.

Nothing for players to install: put it on the server and everyone benefits. No operator rights needed.


How it works

| | |
|—|—|
| Break a log | The datapack notices it and, for a few seconds, sweeps the area around you every half second |
| Which leaves | Only leaves that Vanilla would let decay anyway (no log within reach, not placed by a player) |
| Drops | Leaves are removed in “destroy” mode, so they drop items like decaying leaves (saplings, sticks, apples) |
| Placed leaves | Hedges and decorations you built stay where they are |
| Other causes | A slow background sweep every 30 seconds also clears crowns left by TNT, pistons or other tools |

Every leaf type of the game version is covered (11 types on 26.1 to 26.2, 14 types including the three poplar types on 26.3).


Settings

/scoreboard players set #enabled flr_cfg 1    fast leaf decay (default)
/scoreboard players set #enabled flr_cfg 0    vanilla leaf decay

Installation

Data pack (ZIP): put the ZIP into <world>/datapacks/ on your server (or single-player world) and run /reload. It works on a world you already play.

Optional mod files: the same pack is also offered as a Fabric mod (26.1 to 26.3, needs the Fabric API) and as a NeoForge mod (26.3 only). Use one of them instead of the ZIP, not together with it.

Made for Minecraft 26.1, 26.1.1, 26.1.2, 26.2 and 26.3.


What was tested, and what was not

Tested on real dedicated servers of each listed version, against the same server without the pack:

  • Leaves without a log nearby are removed, leaf types all clear.
  • Leaves you placed yourself stay.
  • Leaves that still touch a log stay.
  • Items drop from the removed leaves.
  • The on/off switch works.
  • The Fabric file passed the same test on 26.1 to 26.3, the NeoForge file on 26.3.

Not measured yet, so no promise is made:

  • The exact time from the last log to a clear crown, and how tall a crown the sweep reaches.
  • Server load compared with other leaf decay packs.
  • Drop chances compared with Vanilla (items drop, the rates were not compared).
  • The test was run without a player; the log-mining trigger itself was checked in a screenshot scene, not with a long play session.

Known limits:

  • On 26.3, the fast trigger after breaking a poplar log works in the ZIP only. In the Fabric and NeoForge files poplar crowns still clear, but only with the slow 30 second sweep.
  • The NeoForge file is listed for 26.3 only, because that is the only version it was run on.
  • The pack only touches leaves in a box around each player (15 blocks to each side, 4 blocks down, 27 blocks up), so crowns far from every player are cleared only when someone comes near.

Changelog

1.0.0

  • First release for Minecraft 26.1 to 26.3 (data pack, Fabric mod, NeoForge mod for 26.3).

常见问题

Fast Leaf Decay Datapack, Treetops Clear in Seconds 支持哪些 Minecraft 版本?

Fast Leaf Decay Datapack, Treetops Clear in Seconds 支持 Minecraft Java 版 26.1–26.3,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Fast Leaf Decay Datapack, Treetops Clear in Seconds 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

MD22 的其他作品

查看全部 →